mirror of
https://github.com/onyx-and-iris/Lottery.git
synced 2026-04-17 22:43:33 +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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user