YamlDotNet The exception that is thrown when an alias references an anchor that does not exist. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. Initializes a new instance of the class. The message. The inner. Defines constants thar relate to the YAML specification. Emits YAML streams. Initializes a new instance of the class. The where the emitter will write. Initializes a new instance of the class. The where the emitter will write. The preferred indentation. Initializes a new instance of the class. The where the emitter will write. The preferred indentation. The preferred text width. Initializes a new instance of the class. The where the emitter will write. The preferred indentation. The preferred text width. If true, write the output in canonical form. Emit an evt. Check if we need to accumulate more events before emitting. We accumulate extra - 1 event for DOCUMENT-START - 2 events for SEQUENCE-START - 3 events for MAPPING-START Expect STREAM-START. Expect DOCUMENT-START or STREAM-END. Expect the root node. Expect a node. Expect ALIAS. Expect SCALAR. Expect SEQUENCE-START. Expect MAPPING-START. Expect DOCUMENT-END. Expect a flow item node. Expect a flow key node. Expect a flow value node. Expect a block item node. Expect a block key node. Expect a block value node. Check if the document content is an empty scalar. Check if the next node can be expressed as a simple key. Extension methods that provide useful abstractions over . Ensures that the current event is of the specified type, returns it and moves to the next event. Type of the . Returns the current event. If the current event is not of the specified type. Checks whether the current event is of the specified type. Type of the event. Returns true if the current event is of type . Otherwise returns false. Checks whether the current event is of the specified type. If the event is of the specified type, returns it and moves to the next event. Otherwise retruns null. Type of the . Returns the current event if it is of type T; otherwise returns null. Gets the next event without consuming it. Type of the . Returns the current event if it is of type T; otherwise returns null. Skips the current event and any nested event. Represents an alias event. Gets the event type, which allows for simpler type comparisons. Gets the value of the alias. Initializes a new instance of the class. The value of the alias. The start position of the event. The end position of the event. Initializes a new instance of the class. The value of the alias. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Represents a document end event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Gets a value indicating whether this instance is implicit. true if this instance is implicit; otherwise, false. Initializes a new instance of the class. Indicates whether the event is implicit. The start position of the event. The end position of the event. Initializes a new instance of the class. Indicates whether the event is implicit. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Represents a document start event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Gets the tags. The tags. Gets the version. The version. Gets a value indicating whether this instance is implicit. true if this instance is implicit; otherwise, false. Initializes a new instance of the class. The version. The tags. Indicates whether the event is implicit. The start position of the event. The end position of the event. Initializes a new instance of the class. The version. The tags. Indicates whether the event is implicit. Initializes a new instance of the class. The start position of the event. The end position of the event. Initializes a new instance of the class. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Callback interface for external event Visitor. Specifies the style of a mapping. Let the emitter choose the style. The block mapping style. The flow mapping style. Contains the behavior that is common between node events. Gets the anchor. Gets the tag. Gets a value indicating whether this instance is canonical. Initializes a new instance of the class. The anchor. The tag. The start position of the event. The end position of the event. Initializes a new instance of the class. Base class for parsing events. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Gets the position in the input stream where the event starts. Gets the position in the input stream where the event ends. Accepts the specified visitor. Visitor to accept, may not be null Initializes a new instance of the class. The start position of the event. The end position of the event. Represents a mapping end event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Initializes a new instance of the class. The start position of the event. The end position of the event. Initializes a new instance of the class. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Represents a mapping start event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Gets a value indicating whether this instance is implicit. true if this instance is implicit; otherwise, false. Gets a value indicating whether this instance is canonical. Gets the style of the mapping. Initializes a new instance of the class. The anchor. The tag. Indicates whether the event is implicit. The style of the mapping. The start position of the event. The end position of the event. Initializes a new instance of the class. The anchor. The tag. Indicates whether the event is implicit. The style of the mapping. Initializes a new instance of the class. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Represents a scalar event. Gets the event type, which allows for simpler type comparisons. Gets the value. The value. Gets the style of the scalar. The style. Gets a value indicating whether the tag is optional for the plain style. Gets a value indicating whether the tag is optional for any non-plain style. Gets a value indicating whether this instance is canonical. Initializes a new instance of the class. The anchor. The tag. The value. The style. . . The start position of the event. The end position of the event. Initializes a new instance of the class. The anchor. The tag. The value. The style. . . Initializes a new instance of the class. The value. Initializes a new instance of the class. The tag. The value. Initializes a new instance of the class. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Represents a sequence end event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Initializes a new instance of the class. The start position of the event. The end position of the event. Initializes a new instance of the class. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Represents a sequence start event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Gets a value indicating whether this instance is implicit. true if this instance is implicit; otherwise, false. Gets a value indicating whether this instance is canonical. Gets the style. The style. Initializes a new instance of the class. The anchor. The tag. if set to true [is implicit]. The style. The start position of the event. The end position of the event. Initializes a new instance of the class. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Specifies the style of a sequence. Let the emitter choose the style. The block sequence style. The flow sequence style. Represents a stream end event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Initializes a new instance of the class. The start position of the event. The end position of the event. Initializes a new instance of the class. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Represents a stream start event. Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. Gets the event type, which allows for simpler type comparisons. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the event. The end position of the event. Returns a that represents the current . A that represents the current . Invokes run-time type specific Visit() method of the specified visitor. visitor, may not be null. Implements an indexer through an IEnumerator<T>. Initializes a new instance of FakeList<T>. The enumerator to use to implement the indexer. Initializes a new instance of FakeList<T>. The collection to use to implement the indexer. Gets the element at the specified index. If index is greater or equal than the last used index, this operation is O(index - lastIndex), else this operation is O(index). The exception that is thrown when an alias references an anchor that has not yet been defined in a context that does not support forward references. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. Initializes a new instance of the class. The message. The inner. Supports implementations of by providing methods to combine two hash codes. Combines two hash codes. The first hash code. The second hash code. Represents a YAML stream emitter. Emits an event. Gets a value indicating whether the end of the input reader has been reached. Gets the character at thhe specified offset. Skips the next characters. Those characters must have been obtained first by calling the method. Generic queue on which items may be inserted Gets the number of items that are contained by the queue. Enqueues the specified item. The item to be enqueued. Dequeues an item. Returns the item that been dequeued. Inserts an item at the specified index. The index where to insert the item. The item to be inserted. Represents a YAML stream paser. Gets the current event. Returns null before the first call to , and also after returns false. Moves to the next event. Returns true if there are more events available, otherwise returns false. Defines the interface for a stand-alone YAML scanner that converts a sequence of characters into a sequence of YAML tokens. Gets the current position inside the input stream. The current position. Gets the current token. Moves to the next token and consumes the current token. Moves to the next token without consuming the current token. Consumes the current token. Provides access to a stream and allows to peek at the next characters, up to the buffer's capacity. This class implements a circular buffer with a fixed capacity. Initializes a new instance of the class. The input. The capacity. Gets a value indicating whether the end of the input reader has been reached. Gets the index of the character for the specified offset. Gets the character at thhe specified offset. Reads characters until at least characters are in the buffer. Number of characters to cache. Skips the next characters. Those characters must have been obtained first by calling the or methods. Represents a location inside a file Gets a with empty values. Gets / sets the absolute offset in the file Gets / sets the number of the line Gets / sets the index of the column Returns a that represents this instance. A that represents this instance. Simple implementation of that implements merging: http://yaml.org/type/merge.html Parses YAML streams. Initializes a new instance of the class. The input where the YAML stream is to be read. Initializes a new instance of the class. Gets the current event. Moves to the next event. Returns true if there are more events available, otherwise returns false. Parse the production: stream ::= STREAM-START implicit_document? explicit_document* STREAM-END ************ Parse the productions: implicit_document ::= block_node DOCUMENT-END* * explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* ************************* Parse directives. Parse the productions: explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* *********** Generate an empty scalar event. Parse the productions: block_node_or_indentless_sequence ::= ALIAS ***** | properties (block_content | indentless_block_sequence)? ********** * | block_content | indentless_block_sequence * block_node ::= ALIAS ***** | properties block_content? ********** * | block_content * flow_node ::= ALIAS ***** | properties flow_content? ********** * | flow_content * properties ::= TAG ANCHOR? | ANCHOR TAG? ************************* block_content ::= block_collection | flow_collection | SCALAR ****** flow_content ::= flow_collection | SCALAR ****** Parse the productions: implicit_document ::= block_node DOCUMENT-END* ************* explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* ************* Parse the productions: block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END ******************** *********** * ********* Parse the productions: indentless_sequence ::= (BLOCK-ENTRY block_node?)+ *********** * Parse the productions: block_mapping ::= BLOCK-MAPPING_START ******************* ((KEY block_node_or_indentless_sequence?)? *** * (VALUE block_node_or_indentless_sequence?)?)* BLOCK-END ********* Parse the productions: block_mapping ::= BLOCK-MAPPING_START ((KEY block_node_or_indentless_sequence?)? (VALUE block_node_or_indentless_sequence?)?)* ***** * BLOCK-END Parse the productions: flow_sequence ::= FLOW-SEQUENCE-START ******************* (flow_sequence_entry FLOW-ENTRY)* * ********** flow_sequence_entry? * FLOW-SEQUENCE-END ***************** flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? * Parse the productions: flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? *** * Parse the productions: flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? ***** * Parse the productions: flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? * Parse the productions: flow_mapping ::= FLOW-MAPPING-START ****************** (flow_mapping_entry FLOW-ENTRY)* * ********** flow_mapping_entry? ****************** FLOW-MAPPING-END **************** flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? * *** * Parse the productions: flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? * ***** * Exception that is thrown when an infinite recursion is detected. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. Initializes a new instance of the class. The message. The inner. Represents a comment Gets the value of the comment Gets a value indicating whether the comment appears other tokens on that line. Initializes a new instance of the class. Initializes a new instance of the class. Represents an alias token. Gets the value of the alias. Initializes a new instance of the class. The value of the anchor. Initializes a new instance of the class. The value of the anchor. The start position of the event. The end position of the event. Represents an anchor token. Gets the value. The value. Initializes a new instance of the class. The value. Initializes a new instance of the class. The value. The start position of the token. The end position of the token. Represents a block end token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a block entry event. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a block mapping start token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a block sequence start token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a document end token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a document start token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a flow entry event. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a flow mapping end token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a flow mapping start token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a flow sequence end token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a flow sequence start token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a key token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a scalar token. Gets the value. The value. Gets the style. The style. Initializes a new instance of the class. The value. Initializes a new instance of the class. The value. The style. Initializes a new instance of the class. The value. The style. The start position of the token. The end position of the token. Represents a stream end event. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a stream start token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a tag token. Gets the handle. The handle. Gets the suffix. The suffix. Initializes a new instance of the class. The handle. The suffix. Initializes a new instance of the class. The handle. The suffix. The start position of the token. The end position of the token. Represents a tag directive token. Gets the handle. The handle. Gets the prefix. The prefix. Initializes a new instance of the class. The handle. The prefix. Initializes a new instance of the class. The handle. The prefix. The start position of the token. The end position of the token. Determines whether the specified System.Object is equal to the current System.Object. The System.Object to compare with the current System.Object. true if the specified System.Object is equal to the current System.Object; otherwise, false. Serves as a hash function for a particular type. A hash code for the current . Base class for YAML tokens. Gets the start of the token in the input stream. Gets the end of the token in the input stream. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a value token. Initializes a new instance of the class. Initializes a new instance of the class. The start position of the token. The end position of the token. Represents a version directive token. Gets the version. The version. Initializes a new instance of the class. The version. Initializes a new instance of the class. The version. The start position of the token. The end position of the token. Determines whether the specified System.Object is equal to the current System.Object. The System.Object to compare with the current System.Object. true if the specified System.Object is equal to the current System.Object; otherwise, false. Serves as a hash function for a particular type. A hash code for the current . Converts a sequence of characters into a sequence of YAML tokens. Gets the current token. Initializes a new instance of the class. The input. Indicates whether comments should be ignored Gets the current position inside the input stream. The current position. Moves to the next token. Consumes the current token and increments the parsed token count Check the list of potential simple keys and remove the positions that cannot contain simple keys anymore. Pop indentation levels from the indents stack until the current level becomes less or equal to the column. For each intendation level, append the BLOCK-END token. Produce the STREAM-END token and shut down the scanner. Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token. Scope: %YAML 1.1 # a comment \n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ %TAG !yaml! tag:yaml.org,2002: \n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Produce the DOCUMENT-START or DOCUMENT-END token. Produce the FLOW-SEQUENCE-START or FLOW-MAPPING-START token. Increase the flow level and resize the simple key list if needed. Produce the FLOW-SEQUENCE-END or FLOW-MAPPING-END token. Decrease the flow level. Produce the FLOW-ENTRY token. Produce the BLOCK-ENTRY token. Produce the KEY token. Produce the VALUE token. Push the current indentation level to the stack and set the new level the current column is greater than the indentation level. In this case, append or insert the specified token into the token queue. Produce the ALIAS or ANCHOR token. Produce the TAG token. Scan a TAG token. Produce the SCALAR(...,literal) or SCALAR(...,folded) tokens. Scan a block scalar. Scan intendation spaces and line breaks for a block scalar. Determine the intendation level if needed. Produce the SCALAR(...,single-quoted) or SCALAR(...,double-quoted) tokens. Scan a quoted scalar. Produce the SCALAR(...,plain) token. Scan a plain scalar. Remove a potential simple key at the current flow level. Scan the directive name. Scope: %YAML 1.1 # a comment \n ^^^^ %TAG !yaml! tag:yaml.org,2002: \n ^^^ Scan the value of VERSION-DIRECTIVE. Scope: %YAML 1.1 # a comment \n ^^^^^^ Scan the value of a TAG-DIRECTIVE token. Scope: %TAG !yaml! tag:yaml.org,2002: \n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Scan a tag. Decode an URI-escape sequence corresponding to a single UTF-8 character. Scan a tag handle. Scan the version number of VERSION-DIRECTIVE. Scope: %YAML 1.1 # a comment \n ^ %YAML 1.1 # a comment \n ^ Check if a simple key may start at the current position and add it if needed. Exception that is thrown when a semantic error is detected on a YAML stream. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. Initializes a new instance of the class. The message. The inner. Exception that is thrown when a syntax error is detected on a YAML stream. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. Initializes a new instance of the class. The message. The inner. Collection of . Initializes a new instance of the class. Initializes a new instance of the class. Initial content of the collection. Gets a value indicating whether the collection contains a directive with the same handle Specifies the style of a YAML scalar. Let the emitter choose the style. The plain scalar style. The single-quoted scalar style. The double-quoted scalar style. The literal scalar style. The folded scalar style. Specifies the version of the YAML language. Gets the major version number. Gets the minor version number. Initializes a new instance of the class. The the major version number. The the minor version number. Determines whether the specified System.Object is equal to the current System.Object. The System.Object to compare with the current System.Object. true if the specified System.Object is equal to the current System.Object; otherwise, false. Serves as a hash function for a particular type. A hash code for the current . Base exception that is thrown when the a problem occurs in the YamlDotNet library. Gets the position in the input stream where the event that originated the exception starts. Gets the position in the input stream where the event that originated the exception ends. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. The message. The inner. Keeps track of the recursion level, and throws whenever is reached. Increments the recursion level, and throws if is reached. Increments the recursion level, and returns whether is still less than . Decrements the recursion level. Returns the that describes the property that is being returned in an expression in the form: x => x.SomeProperty Adapts an to because not all generic collections implement . Adapts an to because not all generic dictionaries implement . Determines whether the specified type has a default constructor. The type. true if the type has a default constructor; otherwise, false. Manages the state of a while it is loading. Adds the specified node to the anchor list. The node. Gets the node with the specified anchor. The anchor. if set to true, the method should throw an exception if there is no node with that anchor. The start position. The end position. Adds the specified node to the collection of nodes with unresolved aliases. The that has unresolved aliases. Resolves the aliases that could not be resolved while loading the document. Holds state that is used when emitting a stream. Gets the already emitted anchors. The emitted anchors. Defines the method needed to be able to visit Yaml elements. Visits a . The that is being visited. Visits a . The that is being visited. Visits a . The that is being visited. Visits a . The that is being visited. Visits a . The that is being visited. Represents an alias node in the YAML document. Initializes a new instance of the class. The anchor. Resolves the aliases that could not be resolved when the node was created. The state of the document. Saves the current node to the specified emitter. The emitter where the node is to be saved. The state. Accepts the specified visitor by calling the appropriate Visit method on it. A . Serves as a hash function for a particular type. A hash code for the current . Returns a that represents this instance. A that represents this instance. Recursively enumerates all the nodes from the document, starting on the current node, and throwing if is reached. Gets the type of node. Represents an YAML document. Gets or sets the root node. The root node. Initializes a new instance of the class. Initializes a new instance of the class with a single scalar node. Initializes a new instance of the class. Visitor that assigns anchors to nodes that are referenced more than once. Existing anchors are preserved as much as possible. Key: Node, Value: IsDuplicate Returns whether the visited node is a duplicate. Accepts the specified visitor by calling the appropriate Visit method on it. A . Gets all nodes from the document. is thrown if an infinite recursion is detected. Represents a mapping node in the YAML document. Gets the children of the current node. The children. Gets or sets the style of the node. The style. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. A sequence of where even elements are keys and odd elements are values. Initializes a new instance of the class. A sequence of where even elements are keys and odd elements are values. Adds the specified mapping to the collection. The key node. The value node. Adds the specified mapping to the collection. The key node. The value node. Adds the specified mapping to the collection. The key node. The value node. Adds the specified mapping to the collection. The key node. The value node. Resolves the aliases that could not be resolved when the node was created. The state of the document. Saves the current node to the specified emitter. The emitter where the node is to be saved. The state. Accepts the specified visitor by calling the appropriate Visit method on it. A . Serves as a hash function for a particular type. A hash code for the current . Recursively enumerates all the nodes from the document, starting on the current node, and throwing if is reached. Gets the type of node. Returns a that represents this instance. A that represents this instance. Creates a containing a key-value pair for each property of the specified object. Represents a single node in the YAML document. Gets or sets the anchor of the node. The anchor. Gets or sets the tag of the node. The tag. Gets the position in the input stream where the event that originated the node starts. Gets the position in the input stream where the event that originated the node ends. Loads the specified event. The event. The state of the document. Parses the node represented by the next event in . Returns the node that has been parsed. Resolves the aliases that could not be resolved when the node was created. The state of the document. Saves the current node to the specified emitter. The emitter where the node is to be saved. The state. Saves the current node to the specified emitter. The emitter where the node is to be saved. The state. Accepts the specified visitor by calling the appropriate Visit method on it. A . Provides a basic implementation of Object.Equals Gets a value indicating whether two objects are equal. Serves as a hash function for a particular type. A hash code for the current . Gets the hash code of the specified object, or zero if the object is null. Combines two hash codes into one. Gets all nodes from the document, starting on the current node. is thrown if an infinite recursion is detected. When implemented, recursively enumerates all the nodes from the document, starting on the current node. If is reached, a is thrown instead of continuing and crashing with a . Gets the type of node. Performs an implicit conversion from to . The value. The result of the conversion. Performs an implicit conversion from string[] to . The value. The result of the conversion. Converts a to a string by returning its value. Gets the nth element in a . Gets the value associated with a key in a . Comparer that is based on identity comparisons. Specifies the type of node in the representation model. The node is a . The node is a . The node is a . The node is a . Represents a scalar node in the YAML document. Gets or sets the value of the node. The value. Gets or sets the style of the node. The style. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. The value. Resolves the aliases that could not be resolved when the node was created. The state of the document. Saves the current node to the specified emitter. The emitter where the node is to be saved. The state. Accepts the specified visitor by calling the appropriate Visit method on it. A . Serves as a hash function for a particular type. A hash code for the current . Performs an explicit conversion from to . The value. The result of the conversion. Returns a that represents this instance. A that represents this instance. Recursively enumerates all the nodes from the document, starting on the current node, and throwing if is reached. Gets the type of node. Represents a sequence node in the YAML document. Gets the collection of child nodes. The children. Gets or sets the style of the node. The style. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Adds the specified child to the collection. The child. Adds a scalar node to the collection. The child. Resolves the aliases that could not be resolved when the node was created. The state of the document. Saves the current node to the specified emitter. The emitter where the node is to be saved. The state. Accepts the specified visitor by calling the appropriate Visit method on it. A . Serves as a hash function for a particular type. A hash code for the current . Recursively enumerates all the nodes from the document, starting on the current node, and throwing if is reached. Gets the type of node. Returns a that represents this instance. A that represents this instance. Represents an YAML stream. Gets the documents inside the stream. The documents. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Adds the specified document to the collection. The document. Loads the stream from the specified input. The input. Loads the stream from the specified . Saves the stream to the specified output. The output. Saves the stream to the specified output. The output. Indicates whether or not to assign node anchors. Accepts the specified visitor by calling the appropriate Visit method on it. A . Abstract implementation of that knows how to walk a complete Yaml object model. Called when this object is visiting a . The that is being visited. Called after this object finishes visiting a . The that has been visited. Called when this object is visiting a . The that is being visited. Called after this object finishes visiting a . The that has been visited. Called when this object is visiting a . The that is being visited. Called after this object finishes visiting a . The that has been visited. Called when this object is visiting a . The that is being visited. Called after this object finishes visiting a . The that has been visited. Called when this object is visiting a . The that is being visited. Called after this object finishes visiting a . The that has been visited. Visits every child of a . The that is being visited. Visits every child of a . The that is being visited. Visits every child of a . The that is being visited. Visits every child of a . The that is being visited. Abstract implementation of that knows how to walk a complete YAML object model. Called when this object is visiting a . The that is being visited. Called when this object is visiting a . The that is being visited. Called when this object is visiting a . The that is being visited. Called when this object is visiting a . The that is being visited. Called when this object is visiting a . The that is being visited. Called when this object is visiting a key-value pair. The left (key) that is being visited. The right (value) that is being visited. Visits every child of a . The that is being visited. Visits every child of a . The that is being visited. Visits every child of a . The that is being visited. Visits every child of a . The that is being visited. Common implementation of and . Sets the that will be used by the (de)serializer. Sets the that will be used by the (de)serializer. Register an for for a given property. An expression in the form: x => x.SomeProperty The attribute to register. Register an for for a given property. Registers an additional to be used by the (de)serializer. Registers an additional to be used by the (de)serializer. Configures the location where to insert the Registers an additional to be used by the (de)serializer. A factory that creates the based on a previously registered . Configures the location where to insert the Unregisters an existing of type . Unregisters an existing of type . Registers an additional to be used by the (de)serializer. A function that instantiates the type inspector. Registers an additional to be used by the (de)serializer. A function that instantiates the type inspector. Configures the location where to insert the Registers an additional to be used by the (de)serializer. A function that instantiates the type inspector based on a previously registered .. Configures the location where to insert the Unregisters an existing of type . Unregisters an existing of type . A factory that creates instances of based on an existing . The type of the wrapped component. The type of the component that this factory creates. The component that is to be wrapped. Returns a new instance of that is based on . A factory that creates instances of based on an existing and an argument. The type of the argument. The type of the wrapped component. The type of the component that this factory creates. The component that is to be wrapped. The argument of the factory. Returns a new instance of that is based on and . This represents the YAML converter entity for . Initializes a new instance of the class. value. Default value is . is considered as . instance. Default value is . List of date/time formats for parsing. Default value is "G". On deserializing, all formats in the list are used for conversion, while on serializing, the first format in the list is used. Gets a value indicating whether the current converter supports converting the specified type. to check. Returns True, if the current converter supports; otherwise returns False. Reads an object's state from a YAML parser. instance. to convert. Returns the instance converted. On deserializing, all formats in the list are used for conversion. Writes the specified object's state to a YAML emitter. instance. Value to write. to convert. On serializing, the first format in the list is used. Converter for System.Guid. Provided the base implementation for an IEventEmitter that is a decorator for another IEventEmitter. Deserializes objects from the YAML format. To customize the behavior of , use the class. Initializes a new instance of using the default configuration. To customize the bahavior of the deserializer, use . This constructor is private to discourage its use. To invoke it, call the method. Creates a new that uses the specified . This method is available for advanced scenarios. The preferred way to customize the bahavior of the deserializer is to use . Deserializes an object of the specified type. The from where to deserialize the object. The static type of the object to deserialize. Returns the deserialized object. Creates and configures instances of . This class is used to customize the behavior of . Use the relevant methods to apply customizations, then call to create an instance of the deserializer with the desired customizations. Initializes a new using the default component registrations. Sets the that will be used by the deserializer. Sets the that will be used by the deserializer. Registers an additional to be used by the deserializer. Registers an additional to be used by the deserializer. Configures the location where to insert the Registers an additional to be used by the deserializer. A factory that creates the based on a previously registered . Configures the location where to insert the Unregisters an existing of type . Unregisters an existing of type . Registers an additional to be used by the deserializer. Registers an additional to be used by the deserializer. Configures the location where to insert the Registers an additional to be used by the deserializer. A factory that creates the based on a previously registered . Configures the location where to insert the Unregisters an existing of type . Unregisters an existing of type . Registers a tag mapping. Unregisters an existing tag mapping. Instructs the deserializer to ignore unmatched properties instead of throwing an exception. Creates a new according to the current configuration. Creates a new that implements the current configuration. This method is available for advanced scenarios. The preferred way to customize the bahavior of the deserializer is to use the method. Gets the next visitor that should be called by the current visitor. Gets the that is to be used for serialization. Gets a function that, when called, serializes the specified object. Gets the visitor of type that was used during the pre-processig phase. The type of the visitor.s No visitor of that type has been registered, or ore than one visitors registered are of type . Translates property names according to a specific convention. Determines the type of the specified node. The node to be deserialized. The type that has been determined so far. true if has been resolved completely; false if the next type should be invoked. Represents an object along with its type. A reference to the object. The type that should be used when to interpret the . The type of as determined by its container (e.g. a property). The style to be used for scalars. Creates instances of types. This interface allows to provide a custom logic for creating instances during deserialization. Creates an instance of the specified type. Defines a strategy that walks through an object graph. Traverses the specified object graph. The graph. An that is to be notified during the traversal. A that will be passed to the . Defined the interface of a type that can be notified during an object graph traversal. Indicates whether the specified value should be entered. This allows the visitor to override the handling of a particular object or type. The value that is about to be entered. The context that this implementation depend on. If the value is to be entered, returns true; otherwise returns false; Indicates whether the specified mapping should be entered. This allows the visitor to override the handling of a particular pair. The key of the mapping that is about to be entered. The value of the mapping that is about to be entered. The context that this implementation depend on. If the mapping is to be entered, returns true; otherwise returns false; Indicates whether the specified mapping should be entered. This allows the visitor to override the handling of a particular pair. This overload should be invoked when the mapping is produced by an object's property. The that provided access to . The value of the mapping that is about to be entered. The context that this implementation depend on. If the mapping is to be entered, returns true; otherwise returns false; Notifies the visitor that a scalar value has been encountered. The value of the scalar. The context that this implementation depend on. Notifies the visitor that the traversal of a mapping is about to begin. The value that corresponds to the mapping. The static type of the keys of the mapping. The static type of the values of the mapping. The context that this implementation depend on. Notifies the visitor that the traversal of a mapping has ended. The value that corresponds to the mapping. The context that this implementation depend on. Notifies the visitor that the traversal of a sequence is about to begin. The value that corresponds to the sequence. The static type of the elements of the sequence. The context that this implementation depend on. Notifies the visitor that the traversal of a sequence has ended. The value that corresponds to the sequence. The context that this implementation depend on. Registers the component in place of the already registered component of type . Registers the component before the already registered component of type . Registers the component after the already registered component of type . Registers the component before every other previously registered component. Registers the component after every other previously registered component. Registers the component in place of the already registered component of type . Provides access to the properties of a type. Gets all properties of the specified type. The type whose properties are to be enumerated. The actual object of type whose properties are to be enumerated. Can be null. Gets the property of the type with the specified name. The type whose properties are to be searched. The actual object of type whose properties are to be searched. Can be null. The name of the property. Determines if an exception or null should be returned if can't be found in Resolves the type of values. Allows an object to customize how it is serialized and deserialized. Reads this object's state from a YAML parser. The parser where the object's state should be read from. The type that the deserializer is expecting. A function that will use the current deserializer to read an object of the given type from the parser. Writes this object's state to a YAML emitter. The emitter where the object's state should be written to. A function that will use the current serializer to write an object to the emitter. Represents a function that is used to deserialize an object of the given type. The type that the deserializer should read. Returns the object that was deserialized. Represents a function that is used to serialize an object of the given type. The object to be serialized. The type that should be considered when emitting the object. If null, the actual type of the is used. Allows an object to customize how it is serialized and deserialized. Reads this object's state from a YAML parser. Writes this object's state to a YAML emitter. Allows to customize how a type is serialized and deserialized. Gets a value indicating whether the current converter supports converting the specified type. Reads an object's state from a YAML parser. Writes the specified object's state to a YAML emitter. Convert the string with underscores (this_is_a_test) or hyphens (this-is-a-test) to camel case (thisIsATest). Camel case is the same as Pascal case, except the first letter is lowercase. Convert the string from camelcase (thisIsATest) to a hyphenated (this-is-a-test) string Performs no naming conversion. Convert the string with underscores (this_is_a_test) or hyphens (this-is-a-test) to pascal case (ThisIsATest). Pascal case is the same as camel case, except the first letter is uppercase. Convert the string from camelcase (thisIsATest) to a underscored (this_is_a_test) string An empty type for cases where a type needs to be provided but won't be used. Creates objects using Activator.CreateInstance. Creates objects using a Func{Type,object}"/>. An implementation of that traverses readable properties, collections and dictionaries. An implementation of that traverses properties that are read/write, collections and dictionaries, while ensuring that the graph can be regenerated from the resulting document. A base class that simplifies the correct implementation of . Options that control the serialization process. Serializes using the default options Ensures that it will be possible to deserialize the serialized objects. If this flag is specified, if the same object appears more than once in the serialization graph, it will be serialized each time instead of just once. If the serialization graph contains circular references and this flag is set, a StackOverflowException will be thrown. If this flag is not set, there is a performance penalty because the entire object graph must be walked twice. Forces every value to be serialized, even if it is the default value for that type. Ensures that the result of the serialization is valid JSON. Use the static type of values instead of their actual type. Options that control how the serialization is to be performed. Naming strategy to use for serialized property names Yaml attribute overrides Registers a type converter to be used to serialize and deserialize specific types. Initializes a new instance of using the default configuration. To customize the bahavior of the serializer, use . This constructor is private to discourage its use. To invoke it, call the method. Creates a new that uses the specified . This method is available for advanced scenarios. The preferred way to customize the bahavior of the deserializer is to use . Serializes the specified object. The where to serialize the object. The object to serialize. Serializes the specified object into a string. The object to serialize. Serializes the specified object. The where to serialize the object. The object to serialize. The static type of the object to serialize. Serializes the specified object. The where to serialize the object. The object to serialize. Serializes the specified object. The where to serialize the object. The object to serialize. The static type of the object to serialize. Creates and configures instances of . This class is used to customize the behavior of . Use the relevant methods to apply customizations, then call to create an instance of the serializer with the desired customizations. Registers an additional to be used by the serializer. A function that instantiates the event emitter. Registers an additional to be used by the serializer. A function that instantiates the event emitter. Configures the location where to insert the Registers an additional to be used by the serializer. A function that instantiates the event emitter based on a previously registered . Configures the location where to insert the Unregisters an existing of type . Unregisters an existing of type . Registers a tag mapping. Unregisters an existing tag mapping. Ensures that it will be possible to deserialize the serialized objects. This option will force the emission of tags and emit only properties with setters. Specifies that, if the same object appears more than once in the serialization graph, it will be serialized each time instead of just once. If the serialization graph contains circular references and this flag is set, a StackOverflowException will be thrown. If this flag is not set, there is a performance penalty because the entire object graph must be walked twice. Forces every value to be serialized, even if it is the default value for that type. Ensures that the result of the serialization is valid JSON. Registers an additional to be used by the serializer before emitting an object graph. Registering a visitor in the pre-processing phase enables to traverse the object graph once before actually emitting it. This allows a visitor to collect information about the graph that can be used later by another visitor registered in the emission phase. The type inspector. Registers an additional to be used by the serializer before emitting an object graph. Registering a visitor in the pre-processing phase enables to traverse the object graph once before actually emitting it. This allows a visitor to collect information about the graph that can be used later by another visitor registered in the emission phase. The type inspector. Configures the location where to insert the Registers an additional to be used by the serializer before emitting an object graph. Registering a visitor in the pre-processing phase enables to traverse the object graph once before actually emitting it. This allows a visitor to collect information about the graph that can be used later by another visitor registered in the emission phase. A factory that creates the based on a previously registered . Configures the location where to insert the Unregisters an existing of type . Unregisters an existing of type . Registers an additional to be used by the serializer while emitting an object graph. A function that instantiates the type inspector. Registers an additional to be used by the serializer while emitting an object graph. A function that instantiates the type inspector. Configures the location where to insert the Registers an additional to be used by the serializer while emitting an object graph. A function that instantiates the type inspector based on a previously registered . Configures the location where to insert the Unregisters an existing of type . Unregisters an existing of type . Creates a new according to the current configuration. Creates a new that implements the current configuration. This method is available for advanced scenarios. The preferred way to customize the bahavior of the deserializer is to use the method. An object that contains part of a YAML stream. Gets or sets the events. The events. Reads this object's state from a YAML parser. Writes this object's state to a YAML emitter. Contains mappings between tags and types. Initializes a new instance of the class. Initializes a new instance of the class. The mappings. Adds the specified tag. The tag. The mapping. Gets the mapping. The tag. Wraps another and applies caching. Wraps another and applies a naming convention to the names of the properties. Returns the properties of a type that are both readable and writable. Returns the properties of a type that are readable. The type returned will be the actual type of the value, if available. The type returned will always be the static type. Indicates that a class used as deserialization state needs to be notified after deserialization. Adds the specified anchor. The anchor. The @object. Gets the anchor for the specified object. The object. The anchor. Gets the with the specified anchor. A generic container that is preserved during the entire deserialization process. Any disposable object added to this collecion will be disposed when this object is disposed. Invokes on all objects added to this collection that implement . Various string extension methods Convert the string with underscores (this_is_a_test) or hyphens (this-is-a-test) to camel case (thisIsATest). Camel case is the same as Pascal case, except the first letter is lowercase. String to convert Converted string Convert the string with underscores (this_is_a_test) or hyphens (this-is-a-test) to pascal case (ThisIsATest). Pascal case is the same as camel case, except the first letter is uppercase. String to convert Converted string Convert the string from camelcase (thisIsATest) to a hyphenated (this-is-a-test) or underscored (this_is_a_test) string String to convert Separator to use between segments Converted string Performs type conversions using every standard provided by the .NET library. Converts the specified value. The type to which the value is to be converted. The value to convert. Converts the specified value. The type to which the value is to be converted. The value to convert. The provider. Converts the specified value. The type to which the value is to be converted. The value to convert. The culture. Converts the specified value using the invariant culture. The value to convert. The type to which the value is to be converted. Converts the specified value. The value to convert. The type to which the value is to be converted. The format provider. Converts the specified value. The value to convert. The type to which the value is to be converted. The culture. Define a collection of YamlAttribute Overrides for pre-defined object types. Checks whether this mapping matches the specified type, and returns a value indicating the match priority. The priority of the match. Higher values have more priority. Zero indicates no match. Adds a Member Attribute Override Type Class Member Overriding Attribute Adds a Member Attribute Override Creates a copy of this instance. Applies the Yaml attribute overrides to another . Applies the Yaml* attributes to another . Instructs the YamlSerializer not to serialize the public field or public read/write property value. Provides special Yaml serialization instructions. Specifies that this property should be serialized as the given type, rather than using the actual runtime value's type. Specifies the order priority of this property. Instructs the to use a different field name for serialization. When false, naming conventions will not be applied to this member. Defaults to true. Specifies the scalar style of the property when serialized. This will only affect the serialization of scalar properties. Initializes a new instance of the class. Initializes a new instance of the class. Specifies that this property should be serialized as the given type, rather than using the actual runtime value's type.