From 7ce6d550ea12b19f08bfbcfae781aad999fc3ed6 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 26 Sep 2024 21:11:12 +0100 Subject: [PATCH] remove Count propertry from IGenerator it now only enforced Generate method. Generate method must now return Numbers type --- Lottery/IGenerator.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Lottery/IGenerator.cs b/Lottery/IGenerator.cs index 4892400..f086499 100644 --- a/Lottery/IGenerator.cs +++ b/Lottery/IGenerator.cs @@ -1,12 +1,10 @@ namespace Lottery { /// - /// + /// All Generators must implement the Generate method /// interface IGenerator { - int Count { get; } - - List Generate(); + Numbers Generate(); } }