Exemplo n.º 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;
 }
Exemplo n.º 5
0
 public ServiceWithMultipleConstructors(IService service1, IUnregisteredService service2)
 {
     this.UsedConstructorName = ConstructorNames.MostDefined;
 }
Exemplo n.º 6
0
 public ServiceWithMultipleConstructors(IUnregisteredService service)
 {
     this.UsedConstructorName = ConstructorNames.Unresolvable;
 }
Exemplo n.º 7
0
 public SingletonWithUnregisteredService(IUnregisteredService unregisteredService)
 {
 }