mirror of
https://github.com/onyx-and-iris/Lottery.git
synced 2024-11-23 22:50:47 +00:00
remove Count propertry from IGenerator
it now only enforced Generate method. Generate method must now return Numbers type
This commit is contained in:
parent
58683834d5
commit
7ce6d550ea
@ -1,12 +1,10 @@
|
||||
namespace Lottery
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// All Generators must implement the Generate method
|
||||
/// </summary>
|
||||
interface IGenerator
|
||||
{
|
||||
int Count { get; }
|
||||
|
||||
List<int> Generate();
|
||||
Numbers Generate();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user