Ejemplo n.º 1
0
 public UserService(
     IConnectedServerFactory connectedServerFactory,
     IPasswordService passwordService)
 {
     _connectedServerFactory = connectedServerFactory;
     _passwordService        = passwordService;
 }
Ejemplo n.º 2
0
        public BlaiseHealthApi(ConnectionModel connectionModel = null)
        {
            _connectedServerFactory      = UnityProvider.Resolve <IConnectedServerFactory>();
            _remoteDataServerFactory     = UnityProvider.Resolve <IRemoteDataServerFactory>();
            _catiManagementServerFactory = UnityProvider.Resolve <ICatiManagementServerFactory>();

            var configurationProvider = UnityProvider.Resolve <IBlaiseConfigurationProvider>();

            _connectionModel = connectionModel ?? configurationProvider.GetConnectionModel();
        }
 internal BlaiseHealthApi(
     IConnectedServerFactory connectedServerFactory,
     IRemoteDataServerFactory remoteDataServerFactory,
     ICatiManagementServerFactory catiManagementServerFactory,
     ConnectionModel connectionModel)
 {
     _connectedServerFactory      = connectedServerFactory;
     _remoteDataServerFactory     = remoteDataServerFactory;
     _catiManagementServerFactory = catiManagementServerFactory;
     _connectionModel             = connectionModel;
 }
        public BlaiseHealthApi(ConnectionModel connectionModel = null)
        {
            var unityProvider = new UnityProvider();

            unityProvider.RegisterDependencies();

            _connectedServerFactory      = unityProvider.Resolve <IConnectedServerFactory>();
            _remoteDataServerFactory     = unityProvider.Resolve <IRemoteDataServerFactory>();
            _catiManagementServerFactory = unityProvider.Resolve <ICatiManagementServerFactory>();

            var configurationProvider = unityProvider.Resolve <IBlaiseConfigurationProvider>();

            _connectionModel = connectionModel ?? configurationProvider.GetConnectionModel();
        }
Ejemplo n.º 5
0
 public ServerParkService(IConnectedServerFactory connectionFactory)
 {
     _connectionFactory = connectionFactory;
 }