mirror of
https://github.com/onyx-and-iris/Lottery.git
synced 2024-11-24 07:00: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
|
namespace Lottery
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
/// All Generators must implement the Generate method
|
||||||
/// </summary>
|
/// </summary>
|
||||||
interface IGenerator
|
interface IGenerator
|
||||||
{
|
{
|
||||||
int Count { get; }
|
Numbers Generate();
|
||||||
|
|
||||||
List<int> Generate();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user