public SlapCommand(IStorage storage, IDefaultMessages defaultMessages)
        {
            _defaultMessages = defaultMessages;

            _responses = storage.GetSlapJokes().ToList();

            _rnd = new Random(DateTime.Now.Millisecond);
        }
 public StartCommand(IDefaultMessages defaultMessages)
 {
     _defaultMessages = defaultMessages;
 }
Ejemplo n.º 3
0
 public IsGoodCommand(IStorage storage, IResponseGenerator generator, IDefaultMessages defaultMessages)
 {
     _storage         = storage;
     _generator       = generator;
     _defaultMessages = defaultMessages;
 }