remove Count propertry from IGenerator

it now only enforced Generate method.
Generate method must now return Numbers type
This commit is contained in:
onyx-and-iris 2024-09-26 21:11:12 +01:00
parent 58683834d5
commit 7ce6d550ea

View File

@ -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();
}
}