Class TomlComment
Inheritance
System.Object
    TomlComment
  Implements
System.IEquatable<TomlComment>
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Nett
Assembly: Nett.dll
Syntax
public sealed class TomlComment : IEquatable<TomlComment>
  Constructors
| Improve this Doc View SourceTomlComment(String, CommentLocation)
Declaration
public TomlComment(string commentText, CommentLocation location = CommentLocation.UseDefault)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | commentText | |
| CommentLocation | location | 
Properties
| Improve this Doc View SourceLocation
Declaration
public CommentLocation Location { get; }
  Property Value
| Type | Description | 
|---|---|
| CommentLocation | 
Text
Declaration
public string Text { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceEquals(TomlComment)
Declaration
public bool Equals(TomlComment other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TomlComment | other | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Equals(Object)
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.Object.Equals(System.Object)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.Object.GetHashCode()
  Implements
      System.IEquatable<T>