Class Attribute
Represents a AsciiDoc attribute.
public class Attribute : Element
  - Inheritance
 - 
      
      
      Attribute
 
- Inherited Members
 
- Extension Methods
 
Constructors
Attribute(string, object)
Initializes a new instance of the Attribute class.
public Attribute(string name, object value = null)
  Parameters
Properties
Value
Gets the value of the attribute.
public object Value { get; }
  Property Value
Methods
AddAsciidocTo(StringBuilder)
Converts the element to AsciiDoc.
public override void AddAsciidocTo(StringBuilder builder)
  Parameters
builderStringBuilderThe AsciiDoc content is added to this.
RevisionDate(object)
Creates a revision date attribute.
public static Attribute RevisionDate(object value)
  Parameters
valueobjectValue of the attribute.
Returns
- Attribute
 A revision date attribute.
RevisionNumber(object)
Creates a revision number attribute.
public static Attribute RevisionNumber(object value)
  Parameters
valueobjectValue of the attribute.
Returns
- Attribute
 A revision number attribute.
RevisionRemark(object)
Creates a revision remark attribute.
public static Attribute RevisionRemark(object value)
  Parameters
valueobjectValue of the attribute.
Returns
- Attribute
 A revision remark attribute.
Unset()
Unsets the attribute.
public Attribute Unset()
  Returns
- Attribute
 The unset attribute.