Esempio n. 1
0
 public RetrieveHandler(AddinsFactory factory)
 {
     _ret     = new Lazy <IObjectRetrieveAddin>(() => { return(factory.CreateRetrieveAddin()); });
     _query   = new Lazy <IQueryAddin>(() => { return(factory.CreateQueryAddin()); });
     _store   = new Lazy <IStoreAddin>(() => { return(factory.CreateStoreAddin()); });
     _storage = new Lazy <Dicom.Imaging.DiskDataCacheStorage>(() => { return(factory.CreateCacheDiskStorage()); });
 }
Esempio n. 2
0
 public PatientHandler(AddinsFactory factory)
 {
     _storeAddin = factory.CreateStoreAddin();
     _queryAddin = factory.CreateQueryAddin();
 }
Esempio n. 3
0
 public WadoAsPacsRetrieveHandler(AddinsFactory factory)
 {
     _query = factory.CreateWadoQueryAddin();
     _ret   = factory.CreateWadoRetrieveAddin();
     _store = factory.CreateStoreAddin();
 }
Esempio n. 4
0
 public StoreHandler(AddinsFactory factory)
 {
     _addin = factory.CreateStoreAddin();
 }
Esempio n. 5
0
 public WadoRetrieveHandler(AddinsFactory factory)
 {
     _retrieve = new Lazy <IRemoteRetrieveAddin>(() => factory.CreateWadoRetrieveAddin());
     _query    = new Lazy <IRemoteQueryAddin>(() => factory.CreateWadoQueryAddin());
     _store    = new Lazy <IStoreAddin>(() => factory.CreateStoreAddin());
 }