C# Class YamlDotNet.Core.Events.DocumentStart

Represents a document start event.
Inheritance: ParsingEvent
Datei anzeigen Open project: aaubry/YamlDotNet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Accept ( IParsingEventVisitor visitor ) : void

Invokes run-time type specific Visit() method of the specified visitor.

DocumentStart ( ) : System.Globalization

Initializes a new instance of the DocumentStart class.

DocumentStart ( Mark start, Mark end ) : System.Globalization

Initializes a new instance of the DocumentStart class.

DocumentStart ( VersionDirective version, TagDirectiveCollection tags, bool isImplicit ) : System.Globalization

Initializes a new instance of the DocumentStart class.

DocumentStart ( VersionDirective version, TagDirectiveCollection tags, bool isImplicit, Mark start, Mark end ) : System.Globalization

Initializes a new instance of the DocumentStart class.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

Method Details

Accept() public method

Invokes run-time type specific Visit() method of the specified visitor.
public Accept ( IParsingEventVisitor visitor ) : void
visitor IParsingEventVisitor visitor, may not be null.
return void

DocumentStart() public method

Initializes a new instance of the DocumentStart class.
public DocumentStart ( ) : System.Globalization
return System.Globalization

DocumentStart() public method

Initializes a new instance of the DocumentStart class.
public DocumentStart ( Mark start, Mark end ) : System.Globalization
start Mark The start position of the event.
end Mark The end position of the event.
return System.Globalization

DocumentStart() public method

Initializes a new instance of the DocumentStart class.
public DocumentStart ( VersionDirective version, TagDirectiveCollection tags, bool isImplicit ) : System.Globalization
version YamlDotNet.Core.Tokens.VersionDirective The version.
tags TagDirectiveCollection The tags.
isImplicit bool Indicates whether the event is implicit.
return System.Globalization

DocumentStart() public method

Initializes a new instance of the DocumentStart class.
public DocumentStart ( VersionDirective version, TagDirectiveCollection tags, bool isImplicit, Mark start, Mark end ) : System.Globalization
version YamlDotNet.Core.Tokens.VersionDirective The version.
tags TagDirectiveCollection The tags.
isImplicit bool Indicates whether the event is implicit.
start Mark The start position of the event.
end Mark The end position of the event.
return System.Globalization

ToString() public method

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
return string