Click or drag to resize
DynamicToml Class
Represents a TOML table or array.
Inheritance Hierarchy

Namespace: HyperTomlProcessor
Assembly: HyperTomlProcessor (in HyperTomlProcessor.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public class DynamicToml : DynamicObject, 
	IEnumerable<Object>, IEnumerable

The DynamicToml type exposes the following members.

Methods
  NameDescription
Public methodAdd(Object)
Adds the specified value.
Public methodAdd(String, Object)
Adds the specified key and value.
Public methodStatic memberCreateArray
Make a DynamicToml with the empty array.
Public methodStatic memberCreateTable
Make a DynamicToml with the empty table.
Public methodDelete(Int32)
Deletes the element.
Public methodDelete(String)
Deletes the property.
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDynamicMemberNames (Overrides DynamicObjectGetDynamicMemberNames.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetMetaObject
Provides a DynamicMetaObject that dispatches to the dynamic virtual methods. The object can be encapsulated inside another DynamicMetaObject to provide custom behavior for individual actions. This method supports the Dynamic Language Runtime infrastructure for language implementers and it is not intended to be used directly from your code.
(Inherited from DynamicObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefined(Int32)
Determines whether the element of the specified index has been defined.
Public methodIsDefined(String)
Determines whether the specified key has been defined.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse(Toml, IEnumerableChar)
Load an DynamicToml from a string that contains XML.
Public methodStatic memberParse(Toml, Stream)
Creates a new DynamicToml instance by using the specified stream.
Public methodStatic memberParse(Toml, TextReader)
Loads a DynamicToml from a TextReader.
Public methodToString
Returns the TOML for this element.
(Overrides ObjectToString.)
Public methodTryBinaryOperation
Provides implementation for binary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as addition and multiplication.
(Inherited from DynamicObject.)
Public methodTryConvert (Overrides DynamicObjectTryConvert(ConvertBinder, Object).)
Public methodTryCreateInstance
Provides the implementation for operations that initialize a new instance of a dynamic object. This method is not intended for use in C# or Visual Basic.
(Inherited from DynamicObject.)
Public methodTryDeleteIndex
Provides the implementation for operations that delete an object by index. This method is not intended for use in C# or Visual Basic.
(Inherited from DynamicObject.)
Public methodTryDeleteMember
Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
(Inherited from DynamicObject.)
Public methodTryGetIndex (Overrides DynamicObjectTryGetIndex(GetIndexBinder, Object, Object).)
Public methodTryGetMember (Overrides DynamicObjectTryGetMember(GetMemberBinder, Object).)
Public methodTryInvoke (Overrides DynamicObjectTryInvoke(InvokeBinder, Object, Object).)
Public methodTryInvokeMember (Overrides DynamicObjectTryInvokeMember(InvokeMemberBinder, Object, Object).)
Public methodTrySetIndex (Overrides DynamicObjectTrySetIndex(SetIndexBinder, Object, Object).)
Public methodTrySetMember (Overrides DynamicObjectTrySetMember(SetMemberBinder, Object).)
Public methodTryUnaryOperation
Provides implementation for unary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as negation, increment, or decrement.
(Inherited from DynamicObject.)
Public methodWriteTo(Toml, Stream)
Writes the content of DynamicToml to the specified stream.
Public methodWriteTo(Toml, TextWriter)
Writes the content of DynamicToml to the specified TextWriter.
Top
Properties
  NameDescription
Public propertyIsArray
Gets a value indicating whether the DynamicToml represents an array.
Public propertyIsObject
Gets a value indicating whether the DynamicToml represents a table.
Top
See Also