public RemoteDataLinkProvider( IRemoteDataServerFactory connectionFactory, ISurveyService surveyService) { _connectionFactory = connectionFactory; _surveyService = surveyService; _dataLinkConnections = new Dictionary <Tuple <string, string>, Tuple <IDataLink4, DateTime> >(); }
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(); }