public StructureDefinitionImporter(IObjectRepository tdb, string scheme, string authority) { this.tdb = tdb; this.scheme = scheme; this.authority = authority; this.implementationGuideType = LatestHelper.GetImplementationGuideType(this.tdb, true); }
/// <summary> /// Initializes a new instance of ImplementationGuideExporter /// </summary> /// <param name="tdb">Reference to the database</param> /// <param name="scheme">The server url's scheme</param> /// <param name="authority">The server url's authority</param> public ImplementationGuideExporter(IObjectRepository tdb, SimpleSchema schema, string scheme, string authority) { this.tdb = tdb; this.scheme = scheme; this.authority = authority; this.schema = schema; this.implementationGuideType = LatestHelper.GetImplementationGuideType(this.tdb, true); }
public FHIRLatestStructureDefinitionController(IObjectRepository tdb, HttpRequestMessage request = null) { Log.For(this).Trace("Instantiating controller"); this.tdb = tdb; // NOTE: This is for unit testing only if (request != null) { this.Request = request; } this.implementationGuideType = LatestHelper.GetImplementationGuideType(this.tdb, true); Log.For(this).Trace("Done instantiating controller"); }