/// <summary> /// Constructor /// </summary> /// <param name="mapping">Mappings</param> /// <param name="queryTranslator">Query translator</param> /// <param name="typeRegister">Type Register</param> public QueryPlan(IMapping mapping, IQueryTranslator queryTranslator, ITypeRegister typeRegister) { this._mapping = mapping; this._query = CreateQueryHeader(); this._queryTranslator = queryTranslator; this._typeRegister = typeRegister; }
public GenerateProvider(IApiResolver apiResolver, IApiSerializer apiSerializer, ITypeRegister typeRegister, IXmlDocmentationReader xmlDocmentationReader) { ApiResolver = apiResolver; ApiSerializer = apiSerializer; TypeRegister = typeRegister; XmlDocmentationReader = xmlDocmentationReader; }
public ApiResolver(IApiExplorer apiExplorer, JsonSerializerSettings jsonSerializerSettings, ApiExplorerGeneratorOptions options, ITypeRegister typeRegister, IXmlDocmentationReader xmlDocmentationReader) { this.apiExplorer = apiExplorer; this.toCamelCase = jsonSerializerSettings.Converters.OfType <StringEnumConverter>().FirstOrDefault()?.CamelCaseText ?? true; this.options = options; this.typeRegister = typeRegister; this.xmlDocmentationReader = xmlDocmentationReader; }
public ApiResolver(IApiDescriptionGroupCollectionProvider apiDescriptionGroupCollectionProvider, IOptions <MvcJsonOptions> mvcJsonOptions, IOptions <ApiExplorerGeneratorOptions> options, ITypeRegister typeRegister, IXmlDocmentationReader xmlDocmentationReader) { this.apiDescriptionGroupCollectionProvider = apiDescriptionGroupCollectionProvider; this.toCamelCase = mvcJsonOptions?.Value.SerializerSettings.Converters.OfType <StringEnumConverter>().FirstOrDefault()?.CamelCaseText ?? true; this.options = options?.Value; this.typeRegister = typeRegister; this.xmlDocmentationReader = xmlDocmentationReader; }
/// <summary> /// Constructor /// </summary> /// <param name="dataProvider">DataProvider</param> /// <param name="planManager">Execute plan Manager</param> /// <param name="bindManager">Bind Manager</param> /// <param name="mappingManager">Mapping Manager</param> /// <param name="typeRegister">Types register</param> public GenericDomainsRepository(IDataProvider dataProvider, IExecutionPlanManager planManager, IBindManager bindManager, IMappingManager mappingManager, ITypeRegister typeRegister) { this._dataProvider = dataProvider; this._planManager = planManager; this._bindManager = bindManager; this._mappingManager = mappingManager; this._typeRegister = typeRegister; this._mapedType = this._mappingManager.GetMapping(typeof(T)); }
public BindManager(IMappingManager mappingManager, ITypeRegister typeRegister) { this._mappingManager = mappingManager; this._typeRegister = typeRegister; }
/// <summary> /// Constructor /// </summary> /// <param name="mappingManager">Mapping Manager</param> /// <param name="typeRegister">Types Register</param> /// <param name="queryTranslator">Query translator</param> public ExecutionPlanManager(IMappingManager mappingManager, ITypeRegister typeRegister, IQueryTranslator queryTranslator) { this._mappingManager = mappingManager; this._typeRegister = typeRegister; this._queryTranslator = queryTranslator; }
/// <summary> /// Constructor /// </summary> /// <param name="mapping">Type mapping</param> /// <param name="typeRegister">Container</param> public UpdatePlan(IMapping mapping, ITypeRegister typeRegister) { this._mapping = mapping; this._typeRegister = typeRegister; this._text = this.GetUpdateText(); }
/// <summary> /// Constructor /// </summary> /// <param name="mapping">Mappings</param> /// <param name="typeRegister">Types Register</param> public ObjectBinder(IMapping mapping, ITypeRegister typeRegister) { this._mapping = mapping; this._typesRegister = typeRegister; }
public TypeResolver(ITypeRegister typeRegister, AbstractTypeNameResolver typeNameResolver,IMappingEngine mappingEngine) : base(typeRegister, typeNameResolver, mappingEngine) { }
/// <summary> /// Constructor /// </summary> /// <param name="typeRegister">Register</param> /// <param name="geometryFactory">Geometry Factory</param> public BasicTypesMap(ITypeRegister typeRegister, IGeometryFactory geometryFactory) { this._typeRegister = typeRegister; this._geometryFactory = geometryFactory; }
/// <summary> /// Constructor /// </summary> /// <param name="mapping">Type mapping</param> /// <param name="typeRegister">Container</param> public InsertPlan(IMapping mapping, ITypeRegister typeRegister) { this._mapping = mapping; this._typeRegister = typeRegister; this._text = this.GetInsertText(); }