public LeaveManagementController(ILeaveManagementService leaveService, IServiceObjectFactory objectFactory, IViewModelFactory viewModelFactory) { this.LeaveManagementService = leaveService; this.ObjectFactory = objectFactory; this.ViewModelFactory = viewModelFactory; }
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; }
public void AddServiceObjectFactory(String typeName, IServiceObjectFactory objectFactory) { serviceObjectFactories[typeName] = objectFactory; }
public void AddServiceObjectFactory( string typeName, IServiceObjectFactory objectFactory ) { serviceObjectFactories[ typeName ] = objectFactory; }