Exemple #1
0
 public DefineSecretNumber(ILifetimeScope scope)
 {
     _registerSecretNumber = scope.Resolve <IRegisterSecretNumber <int> >();
     _secretNumberBuilder  = scope.Resolve <ISecretNumberBuilder <int> >();
 }
Exemple #2
0
 public RegisterSecretNumberTests()
 {
     _repository = new Mock <ISecretNumberRepository>();
     _instance   = new RegisterSecretNumber <int>(_repository.Object);
 }