public ArchetypeValueConnector(IDataTypeService dataTypeService, IMacroParser macroParser, Lazy <ValueConnectorCollection> valueConnectors) { dataTypeCacheDuration = TimeSpan.FromSeconds(30); archetypeConfigPreValuesByDtdId = new InstanceByKeyCache <string, int>(); dataTypeDefinitionsById = new InstanceByKeyCache <DataTypeDefinition, Guid>(); _dataTypeService = dataTypeService; _macroParser = macroParser; _valueConnectorsLazy = valueConnectors; }
public LeBlenderGridCellValueConnector(IDataTypeService dataTypeService, IMacroParser macroParser, Lazy <ValueConnectorCollection> valueConnectors) { if (dataTypeService == null) { throw new ArgumentNullException(nameof(dataTypeService)); } if (macroParser == null) { throw new ArgumentNullException(nameof(macroParser)); } if (valueConnectors == null) { throw new ArgumentNullException(nameof(valueConnectors)); } _dataTypeService = dataTypeService; _macroParser = macroParser; _valueConnectorsLazy = valueConnectors; }
public ArchetypeValueConnector(IDataTypeService dataTypeService, IMacroParser macroParser, Lazy <ValueConnectorCollection> valueConnectors) { _dataTypeService = dataTypeService; _macroParser = macroParser; _valueConnectorsLazy = valueConnectors; }