/// <summary> /// Creates a new <see cref="ConfigurationCellParsingState"/> from specified parameters. /// </summary> /// <param name="createNewPhasorDefinition">Reference to delegate to create new <see cref="IPhasorDefinition"/> instances.</param> /// <param name="createNewFrequencyDefinition">Reference to delegate to create new <see cref="IFrequencyDefinition"/> instances.</param> /// <param name="createNewAnalogDefinition">Reference to delegate to create new <see cref="IAnalogDefinition"/> instances.</param> /// <param name="createNewDigitalDefinition">Reference to delegate to create new <see cref="IDigitalDefinition"/> instances.</param> public ConfigurationCellParsingState(CreateNewDefinitionFunction<IPhasorDefinition> createNewPhasorDefinition, CreateNewDefinitionFunction<IFrequencyDefinition> createNewFrequencyDefinition, CreateNewDefinitionFunction<IAnalogDefinition> createNewAnalogDefinition, CreateNewDefinitionFunction<IDigitalDefinition> createNewDigitalDefinition) { m_createNewPhasorDefinition = createNewPhasorDefinition; m_createNewFrequencyDefinition = createNewFrequencyDefinition; m_createNewAnalogDefinition = createNewAnalogDefinition; m_createNewDigitalDefinition = createNewDigitalDefinition; }
/// <summary> /// Creates a new <see cref="ConfigurationCellParsingState"/> from specified parameters. /// </summary> /// <param name="createNewPhasorDefinition">Reference to delegate to create new <see cref="IPhasorDefinition"/> instances.</param> /// <param name="createNewFrequencyDefinition">Reference to delegate to create new <see cref="IFrequencyDefinition"/> instances.</param> /// <param name="createNewAnalogDefinition">Reference to delegate to create new <see cref="IAnalogDefinition"/> instances.</param> /// <param name="createNewDigitalDefinition">Reference to delegate to create new <see cref="IDigitalDefinition"/> instances.</param> public ConfigurationCellParsingState(CreateNewDefinitionFunction <IPhasorDefinition> createNewPhasorDefinition, CreateNewDefinitionFunction <IFrequencyDefinition> createNewFrequencyDefinition, CreateNewDefinitionFunction <IAnalogDefinition> createNewAnalogDefinition, CreateNewDefinitionFunction <IDigitalDefinition> createNewDigitalDefinition) { m_createNewPhasorDefinition = createNewPhasorDefinition; m_createNewFrequencyDefinition = createNewFrequencyDefinition; m_createNewAnalogDefinition = createNewAnalogDefinition; m_createNewDigitalDefinition = createNewDigitalDefinition; }