AsciidoctorAttributeCollection Class

Summary

The collection of attributes being passed to Asciidoctor
Assembly
Cake.Asciidoctor.dll
Namespace
Cake.Asciidoctor
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEnumerable<AsciidoctorAttribute>"] Type-.->Interface1["IEnumerable"] Type["AsciidoctorAttributeCollection"] class Type type-node

Syntax

public class AsciidoctorAttributeCollection : IEnumerable<AsciidoctorAttribute>, IEnumerable

Attributes

Type Description
NullableContextAttribute
NullableAttribute
DefaultMemberAttribute

Constructors

Properties

Name Value Summary
this[string] string
Gets or sets the value of the specified attribute.

Methods

Name Value Summary
Add(string, string, AsciidoctorAttributeOptions) void
Adds the specified attribute with the specified options.
Add(string, string) void
Adds the specified attribute with the specified value.
Add(string) void
Adds the specified attribute with an empty value. This method is equivalent to Define(string).
Define(string) void
Defines an attribute with an empty value.
GetEnumerator() IEnumerator<AsciidoctorAttribute>
Returns an enumerator that iterates through the collection.
Remove(string) void
Removes the attribute from the collection.
Unset(string) void
Unsets the specified attribute.

Extension Methods

Name Value Summary
Dump<AsciidoctorAttributeCollection>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AsciidoctorAttributeCollection>(AsciidoctorAttributeCollection[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AsciidoctorAttributeCollection>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AsciidoctorAttributeCollection>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<AsciidoctorAttributeCollection>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AsciidoctorAttributeCollection>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin