public ExportAddin(IStorageDataAccessAgent3 dataAccessAgent, IAuthorizedStorageDataAccessAgent2 authAgent, Lazy <IExternalStoreDataAccessAgent> externalStoreAgent, ILoggingDataAccessAgent loggingAgent, string storageServerServicePath, IStoreAddin storeAddin, IOptionsDataAccessAgent optionsAgent, IPermissionManagementDataAccessAgent2 permissionsAgent, Leadtools.Dicom.Imaging.IDataCacheProvider dataCache) { _DataAccessAgent = dataAccessAgent; _Exporter = new Exporter(dataAccessAgent); _ObjectRetrieveAddIn = new ObjectRetrieveAddin(dataAccessAgent, externalStoreAgent, loggingAgent, storageServerServicePath, optionsAgent, permissionsAgent, authAgent, dataCache); _StoreAddin = storeAddin; _QueryAddIn = new DatabaseQueryAddin(authAgent, optionsAgent, permissionsAgent, externalStoreAgent, loggingAgent, storageServerServicePath, null, dataCache); }
public PatientService() { try { _storeAddin = AddinsFactory.CreateStoreAddin(); _queryAddin = AddinsFactory.CreateQueryAddin(); } catch (Exception ex) { WebOperationContext.Current.OutgoingResponse.StatusCode = HttpStatusCode.InternalServerError; WebOperationContext.Current.OutgoingResponse.StatusDescription = ex.Message; WebOperationContext.Current.OutgoingResponse.ContentType = "application/json"; throw; } }
public ObjectQueryService( ) { _queryAddin = AddinsFactory.CreateQueryAddin(); }
public PatientHandler(AddinsFactory factory) { _storeAddin = factory.CreateStoreAddin(); _queryAddin = factory.CreateQueryAddin(); }
public ThreeDService( ) { _queryAddin = AddinsFactory.CreateQueryAddin(); }