예제 #1
0
 public InjectInCtor(SingletonClass prop1)
 {
     Prop1 = prop1;
 }
예제 #2
0
 public InjectInCtor2Ctors(SingletonClass basicClass)
 {
 }
예제 #3
0
 public void instanced_singletonclass_is_same_as_created_by_new_test()
 {
     var instance = Instances.Get<SingletonClass>();
     var newInstance = new SingletonClass();
     Assert.Equal(newInstance.IntProp, instance.IntProp);
 }