Class
AsciiDocDocumentAttributes
OfficeIMO.AsciiDoc
Effective case-insensitive document attribute values.
Inheritance
- object
- AsciiDocDocumentAttributes
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
Accepted by parameters 1
Methods
public AsciiDocDocumentAttributes Apply(AsciiDocAttributeEntry entry, bool expandReferences = false) #Applies an assignment or unset, optionally resolving value references against the preceding snapshot.
Parameters
- entry OfficeIMO.AsciiDoc.AsciiDocAttributeEntry
- expandReferences bool = false
Returns
AsciiDocDocumentAttributespublic bool Contains(string name) #Tests whether an attribute is set.
Parameters
- name string
Returns
boolpublic static AsciiDocDocumentAttributes Create(IReadOnlyDictionary<string, string>? values = null) #Creates an attribute snapshot from caller-supplied values.
Parameters
- values System.Collections.Generic.IReadOnlyDictionary<string, string>? = null
Returns
AsciiDocDocumentAttributespublic string? GetValueOrDefault(string name) #Gets an attribute value or null.
Parameters
- name string
Returns
string?public bool TryGetValue(string name, out string value) #Gets an attribute value when set.
Parameters
- name string
- value string
Returns
boolInherited Methods
Properties
public IReadOnlyDictionary<string, string> Values { get; } #Set attribute names and values.