예제 #1
0
 public UserFacade(IUnitOfWorkProvider unitOfWorkProvider, IFreelancerService freelancer, ICorporationService corporation, IUnregisteredService unregistered, IUserService user)
     : base(unitOfWorkProvider)
 {
     freelancerService   = freelancer;
     corporationService  = corporation;
     unregisteredService = unregistered;
     userService         = user;
 }
 public SingletonWithUnregisteredService(IUnregisteredService unregisteredService) =>
 this.unregisteredService = unregisteredService;
 public ServiceWithMultipleConstructors(IService service1, IUnregisteredService service2)
 {
     this.usedConstructorName = ConstructorNames.MostDefined;
 }
 public ServiceWithMultipleConstructors(IUnregisteredService service)
 {
     this.usedConstructorName = ConstructorNames.Unresolvable;
 }
예제 #5
0
 public ServiceWithMultipleConstructors(IService service1, IUnregisteredService service2)
 {
     this.UsedConstructorName = ConstructorNames.MostDefined;
 }
예제 #6
0
 public ServiceWithMultipleConstructors(IUnregisteredService service)
 {
     this.UsedConstructorName = ConstructorNames.Unresolvable;
 }
예제 #7
0
 public SingletonWithUnregisteredService(IUnregisteredService unregisteredService)
 {
 }