コード例 #1
0
        public ResourceIndexed(IServiceSearchParameterCache IServiceSearchParameterCache, IIndexSetterFactory IIndexSetterFactory)
        {
            this.IServiceSearchParameterCache = IServiceSearchParameterCache;
            this.IIndexSetterFactory          = IIndexSetterFactory;

            this.IndexQuantityList  = new List <IQuantityIndex>();
            this.IndexDateTimeList  = new List <IDateTimeIndex>();
            this.IndexReferenceList = new List <IReferenceIndex>();
            this.IndexStringList    = new List <IStringIndex>();
            this.IndexTokenList     = new List <ITokenIndex>();
            this.IndexUriList       = new List <IUriIndex>();
        }
コード例 #2
0
 public CommonResourceRepository(IPyroDbContext Context,
                                 IPrimaryServiceRootCache IPrimaryServiceRootCache,
                                 IIndexSetterFactory <ResCurrentType, ResIndexStringType, ResIndexTokenType, ResIndexUriType, ResIndexReferenceType, ResIndexQuantityType, ResIndexDateTimeType> IIndexSetterFactory,
                                 IServiceSearchParameterCache IServiceSearchParameterCache,
                                 IFhirReleaseCache IFhirReleaseCache,
                                 IDatabaseOperationOutcomeFactory IDatabaseOperationOutcomeFactory,
                                 IPagingSupport IPagingSupport)
     : base(Context, IPrimaryServiceRootCache)
 {
     this.IIndexSetterFactory              = IIndexSetterFactory;
     this.IServiceSearchParameterCache     = IServiceSearchParameterCache;
     this.IFhirReleaseCache                = IFhirReleaseCache;
     this.IDatabaseOperationOutcomeFactory = IDatabaseOperationOutcomeFactory;
     this.IPagingSupport = IPagingSupport;
 }