예제 #1
0
 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);
 }
예제 #2
0
        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;
            }
        }
예제 #3
0
 public ObjectQueryService( )
 {
     _queryAddin = AddinsFactory.CreateQueryAddin();
 }
예제 #4
0
 public PatientHandler(AddinsFactory factory)
 {
     _storeAddin = factory.CreateStoreAddin();
     _queryAddin = factory.CreateQueryAddin();
 }
예제 #5
0
 public ThreeDService( )
 {
     _queryAddin = AddinsFactory.CreateQueryAddin();
 }