Esempio n. 1
0
 public FhirService(Uri serviceBase)
 {
     _store    = DependencyCoupler.Inject <IFhirStore>(); // new MongoFhirStore();
     _index    = DependencyCoupler.Inject <IFhirIndex>(); // Factory.Index;
     _importer = DependencyCoupler.Inject <ResourceImporter>();
     _exporter = DependencyCoupler.Inject <ResourceExporter>();
     _pager    = new Pager(_store);
     Endpoint  = serviceBase;
 }
Esempio n. 2
0
 public FhirService(Uri serviceBase)
 {
     store = DependencyCoupler.Inject<IFhirStore>(); // new MongoFhirStore();
     _index = DependencyCoupler.Inject<IFhirIndex>(); // Factory.Index;
     _importer = DependencyCoupler.Inject<ResourceImporter>();
     exporter = DependencyCoupler.Inject<ResourceExporter>();
     pager = new Pager(store);
     Endpoint = serviceBase;
 }
Esempio n. 3
0
        public FhirService(Uri endpoint)
        {
            //refac: store = DependencyCoupler.Inject<IFhirStore>(); // new MongoFhirStore();

            store     = DependencyCoupler.Inject <IFhirStore>();
            tagstore  = DependencyCoupler.Inject <ITagStore>();
            generator = DependencyCoupler.Inject <IGenerator>();
            index     = DependencyCoupler.Inject <IFhirIndex>(); // Factory.Index;
            importer  = DependencyCoupler.Inject <ResourceImporter>();
            exporter  = DependencyCoupler.Inject <ResourceExporter>();
            pager     = new Pager(store, exporter);
            Endpoint  = endpoint;
        }
Esempio n. 4
0
        public FhirService(Uri endpoint)
        {
            //refac: store = DependencyCoupler.Inject<IFhirStore>(); // new MongoFhirStore();

            store = DependencyCoupler.Inject<IFhirStore>();
            tagstore = DependencyCoupler.Inject<ITagStore>();
            generator = DependencyCoupler.Inject<IGenerator>();
            index = DependencyCoupler.Inject<IFhirIndex>(); // Factory.Index;
            importer = DependencyCoupler.Inject<ResourceImporter>();
            exporter = DependencyCoupler.Inject<ResourceExporter>();
            pager = new Pager(store, exporter);
            Endpoint = endpoint;
        }
Esempio n. 5
0
 public Pager(IFhirStore store, ResourceExporter exporter)
 {
     this.store    = store;
     this.exporter = exporter;
 }
Esempio n. 6
0
 public Pager(IFhirStore store, ResourceExporter exporter)
 {
     this.store = store;
     this.exporter = exporter;
 }