Example #1
0
        /// <summary>
        /// Instantiated a new instance of the <see cref="AttributeValueXHTML"/> class
        /// </summary>
        /// <param name="attributeDefinition">The <see cref="AttributeDefinitionXHTML"/> for which this is the default value</param>
        /// <remarks>
        /// This constructor shall be used when setting the default value of an <see cref="AttributeDefinitionXHTML"/>
        /// </remarks>
        /// <param name="loggerFactory">
        /// The (injected) <see cref="ILoggerFactory"/> used to setup logging
        /// </param>
        internal AttributeValueXHTML(AttributeDefinitionXHTML attributeDefinition, ILoggerFactory loggerFactory)
            : base(attributeDefinition, loggerFactory)
        {
            this.logger = this.loggerFactory == null ? NullLogger <AttributeValueXHTML> .Instance : this.loggerFactory.CreateLogger <AttributeValueXHTML>();

            this.ExternalObjects = new List <ExternalObject>();

            this.OwningDefinition = attributeDefinition;
        }
 /// <summary>
 /// Instantiated a new instance of the <see cref="AttributeValueXHTML"/> class
 /// </summary>
 /// <param name="attributeDefinition">The <see cref="AttributeDefinitionXHTML"/> for which this is the default value</param>
 /// <remarks>
 /// This constructor shall be used when setting the default value of an <see cref="AttributeDefinitionXHTML"/>
 /// </remarks>
 internal AttributeValueXHTML(AttributeDefinitionXHTML attributeDefinition)
     : base(attributeDefinition)
 {
     this.OwningDefinition = attributeDefinition;
 }