コード例 #1
0
 public TestDecoratorWithAdditionalConstructorParameters(
     SingleService singleService,
     ITestType decoratedObject,
     IEnumerable <MultipleService> stubService2)
 {
     SingleService   = singleService;
     MultipleService = stubService2.ToArray();
     DecoratedObject = decoratedObject;
 }
コード例 #2
0
 public TestCompoundWithAdditionalConstructorParameters(
     SingleService singleService,
     IEnumerable <ITestType> innerObjects,
     IEnumerable <MultipleService> stubService2)
 {
     SingleService   = singleService;
     MultipleService = stubService2.ToArray();
     InnerObjects    = innerObjects.ToArray();
 }
コード例 #3
0
 public ParameterizedService(SingleService singleService)
 {
     SingleService = singleService;
 }