/// <summary> /// Initializes all build attributes and child elements. /// </summary> protected virtual void InitializeXml(XmlNode elementNode, PropertyDictionary properties, FrameworkInfo framework) { _xmlNode = elementNode; AttributeConfigurator configurator = new AttributeConfigurator( this, elementNode, properties, framework); configurator.Initialize(); }
/// <summary> /// Initializes all build attributes and child elements. /// </summary> protected virtual void InitializeXml(XmlNode elementNode, PropertyDictionary properties, FrameworkInfo framework) { _xmlNode = elementNode; IConditional conditional = this as IConditional; AttributeConfigurator configurator; if (conditional != null) { configurator = new ConditionalConfigurator(this, elementNode, properties, framework); } else { configurator = new AttributeConfigurator(this, elementNode, properties, framework); } configurator.Initialize(); }