Exemplo n.º 1
0
 public LeaveManagementController(ILeaveManagementService leaveService,
                                  IServiceObjectFactory objectFactory, IViewModelFactory viewModelFactory)
 {
     this.LeaveManagementService = leaveService;
     this.ObjectFactory          = objectFactory;
     this.ViewModelFactory       = viewModelFactory;
 }
Exemplo n.º 2
0
 public GoogleAuthenticationService(IAsyncUnitOfWork unitOfWork,
                                    IAsyncDataLoader dataLoader, ILivitConfiguration configuration,
                                    HttpClient client, IDataStore dataStore, ITokenService tokenService,
                                    IGoogleAuthorizationCodeFlowFactory authorizationFlowFactory,
                                    IServiceObjectFactory objectFactory)
     : base(unitOfWork, dataLoader, configuration)
 {
     this.Client                   = client;
     this.DataStore                = dataStore;
     this.TokenService             = tokenService;
     this.ObjectFactory            = objectFactory;
     this.AuthorizationFlowFactory = authorizationFlowFactory;
 }
Exemplo n.º 3
0
 public void AddServiceObjectFactory(String typeName, IServiceObjectFactory objectFactory)
 {
     serviceObjectFactories[typeName] = objectFactory;
 }
Exemplo n.º 4
0
		public void AddServiceObjectFactory( string typeName, IServiceObjectFactory objectFactory )
		{
			serviceObjectFactories[ typeName ] = objectFactory;
		}