コード例 #1
0
 public void InjectProperties_InstanceWithUnknownConstructorDependencyAndMultipleConstructors_ReturnsInstance()
 {
     var container         = new ServiceContainer();
     var fooWithDependency = new FooWithTwoConstructors(42);
     var result            = container.InjectProperties(fooWithDependency);
 }
コード例 #2
0
 public void InjectProperties_InstanceWithUnknownConstructorDependencyAndMultipleConstructors_ReturnsInstance()
 {
     var container = new ServiceContainer();
     var fooWithDependency = new FooWithTwoConstructors(42);
     var result = container.InjectProperties(fooWithDependency);
 }