Class TomlObject
  
  
  
  
    Inheritance
    System.Object
    TomlObject
      
      
      
   
  
    Inherited Members
    
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
   
  Namespace: Nett
  Assembly: Nett.dll
  Syntax
  
    public abstract class TomlObject
   
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public IEnumerable<TomlComment> Comments { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Collections.Generic.IEnumerable<TomlComment> | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ReadableTypeName
  
  
  Declaration
  
    public abstract string ReadableTypeName { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  TomlType
  
  
  Declaration
  
    public abstract TomlObjectType TomlType { get; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public TomlObject AddComment(TomlComment comment)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public TomlObject AddComment(string text, CommentLocation locaction = CommentLocation.UseDefault)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public TomlObject AddComments(IEnumerable<TomlComment> comments)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Collections.Generic.IEnumerable<TomlComment> | 
        comments | 
         | 
      
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void ClearComments()
   
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    protected static T CopyComments<T>(T dst, TomlObject src)
    where T : TomlObject
   
  Parameters
  
  Returns
  
  Type Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Get(Type)
  
  
  Declaration
  
    public abstract object Get(Type t)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Type | 
        t | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Object | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Get<T>()
  
  
  Declaration
  
  Returns
  
  Type Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Visit(ITomlObjectVisitor)
  
  
  Declaration
  
    public abstract void Visit(ITomlObjectVisitor visitor)
   
  Parameters
  
  Extension Methods