Ejemplo n.º 1
0
 /// <summary>
 /// Sets the <see cref="AttributeDefinition"/> to the sub class
 /// </summary>
 /// <param name="attributeDefinition">
 /// The <see cref="AttributeDefinition"/> to set.
 /// </param>
 protected abstract void SetAttributeDefinition(AttributeDefinition attributeDefinition);
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttributeValue"/> class.
 /// </summary>
 /// <param name="attributeDefinition">
 /// The <see cref="AttributeDefinition"/> for which this is the default value
 /// </param>
 /// <remarks>
 /// This constructor shall be used when setting the default value of an <see cref="AttributeDefinition"/>
 /// </remarks>
 protected AttributeValue(AttributeDefinition attributeDefinition)
 {
     this.AttributeDefinition = attributeDefinition;
     this.ReqIFContent        = this.AttributeDefinition.SpecType.ReqIFContent;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttributeValue"/> class.
 /// </summary>
 /// <param name="attributeDefinition">
 /// The <see cref="AttributeDefinition"/> for which this is the default value
 /// </param>
 /// <remarks>
 /// This constructor shall be used when setting the default value of an <see cref="AttributeDefinition"/>
 /// </remarks>
 /// <param name="loggerFactory">
 /// The (injected) <see cref="ILoggerFactory"/> used to setup logging
 /// </param>
 protected AttributeValue(AttributeDefinition attributeDefinition, ILoggerFactory loggerFactory)
 {
     this.AttributeDefinition = attributeDefinition;
     this.ReqIFContent        = this.AttributeDefinition.SpecType.ReqIFContent;
 }