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()); }); }
public PatientHandler(AddinsFactory factory) { _storeAddin = factory.CreateStoreAddin(); _queryAddin = factory.CreateQueryAddin(); }
public WadoAsPacsRetrieveHandler(AddinsFactory factory) { _query = factory.CreateWadoQueryAddin(); _ret = factory.CreateWadoRetrieveAddin(); _store = factory.CreateStoreAddin(); }
public StoreHandler(AddinsFactory factory) { _addin = factory.CreateStoreAddin(); }
public WadoRetrieveHandler(AddinsFactory factory) { _retrieve = new Lazy <IRemoteRetrieveAddin>(() => factory.CreateWadoRetrieveAddin()); _query = new Lazy <IRemoteQueryAddin>(() => factory.CreateWadoQueryAddin()); _store = new Lazy <IStoreAddin>(() => factory.CreateStoreAddin()); }