Show / Hide Table of Contents

Class TomlObject

Inheritance
System.Object
TomlObject
TomlTable
TomlTableArray
TomlValue
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

Comments

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
Type Description
TomlObjectType

Methods

| Improve this Doc View Source

AddComment(TomlComment)

Declaration
public TomlObject AddComment(TomlComment comment)
Parameters
Type Name Description
TomlComment comment
Returns
Type Description
TomlObject
| Improve this Doc View Source

AddComment(String, CommentLocation)

Declaration
public TomlObject AddComment(string text, CommentLocation locaction = CommentLocation.UseDefault)
Parameters
Type Name Description
System.String text
CommentLocation locaction
Returns
Type Description
TomlObject
| Improve this Doc View Source

AddComments(IEnumerable<TomlComment>)

Declaration
public TomlObject AddComments(IEnumerable<TomlComment> comments)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TomlComment> comments
Returns
Type Description
TomlObject
| Improve this Doc View Source

ClearComments()

Declaration
public void ClearComments()
| Improve this Doc View Source

CopyComments<T>(T, TomlObject)

Declaration
protected static T CopyComments<T>(T dst, TomlObject src)

    where T : TomlObject
Parameters
Type Name Description
T dst
TomlObject src
Returns
Type Description
T
Type Parameters
Name Description
T
| 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
public T Get<T>()
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

Visit(ITomlObjectVisitor)

Declaration
public abstract void Visit(ITomlObjectVisitor visitor)
Parameters
Type Name Description
ITomlObjectVisitor visitor

Extension Methods

TomlObjectFactory.CreateAttached(TomlObject, Boolean)
TomlObjectFactory.CreateAttached(TomlObject, String)
TomlObjectFactory.CreateAttached(TomlObject, Int64)
TomlObjectFactory.CreateAttached(TomlObject, Double)
TomlObjectFactory.CreateAttached(TomlObject, TimeSpan)
TomlObjectFactory.CreateAttached(TomlObject, DateTimeOffset)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<Boolean>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<String>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<Int64>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<Int32>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<Double>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<Single>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<TimeSpan>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<DateTime>)
TomlObjectFactory.CreateAttached(TomlObject, IEnumerable<DateTimeOffset>)
TomlObjectFactory.CreateAttached(TomlObject, Object, TomlTable.TableTypes)
TomlObjectFactory.CreateAttached<TValue>(TomlObject, IDictionary<String, TValue>, TomlTable.TableTypes)
TomlObjectFactory.CreateAttached<T>(TomlObject, IEnumerable<T>, TomlTable.TableTypes)
TomlObjectFactory.CreateEmptyAttachedArray(TomlObject)
TomlObjectFactory.CreateEmptyAttachedTableArray(TomlObject)
TomlObjectFactory.CreateEmptyAttachedTable(TomlObject, TomlTable.TableTypes)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX