Class TomlComment
Represents a TOML comment expression (e.g., # This is a comment).
public class TomlComment : TomlExpression, IEnumerable<TomlToken>, IEnumerable, IEquatable<TomlComment>
- Inheritance
-
TomlComment
- Implements
- Inherited Members
Constructors
TomlComment(string)
Initializes a new instance of TomlComment with the specified comment text.
public TomlComment(string value)
Parameters
Properties
Value
Gets the text content of the comment.
public string Value { get; }
Property Value
Methods
Equals(TomlComment?)
public bool Equals(TomlComment? other)
Parameters
otherTomlComment
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()