C# Class YamlDotNet.Core.Events.Scalar

Represents a scalar event.
Inheritance: NodeEvent, IScalar
ファイルを表示 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.

Scalar ( string value ) : System.Globalization

Initializes a new instance of the Scalar class.

Scalar ( string tag, string value ) : System.Globalization

Initializes a new instance of the Scalar class.

Scalar ( string anchor, string tag, string value ) : System.Globalization

Initializes a new instance of the Scalar class.

Scalar ( string anchor, string tag, string value, ScalarStyle style, bool isPlainImplicit, bool isQuotedImplicit ) : System.Globalization

Initializes a new instance of the Scalar class.

Scalar ( string anchor, string tag, string value, ScalarStyle style, bool isPlainImplicit, bool isQuotedImplicit, Mark start, Mark end ) : System.Globalization

Initializes a new instance of the Scalar 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

Scalar() public method

Initializes a new instance of the Scalar class.
public Scalar ( string value ) : System.Globalization
value string The value.
return System.Globalization

Scalar() public method

Initializes a new instance of the Scalar class.
public Scalar ( string tag, string value ) : System.Globalization
tag string The tag.
value string The value.
return System.Globalization

Scalar() public method

Initializes a new instance of the Scalar class.
public Scalar ( string anchor, string tag, string value ) : System.Globalization
anchor string
tag string
value string
return System.Globalization

Scalar() public method

Initializes a new instance of the Scalar class.
public Scalar ( string anchor, string tag, string value, ScalarStyle style, bool isPlainImplicit, bool isQuotedImplicit ) : System.Globalization
anchor string The anchor.
tag string The tag.
value string The value.
style ScalarStyle The style.
isPlainImplicit bool .
isQuotedImplicit bool .
return System.Globalization

Scalar() public method

Initializes a new instance of the Scalar class.
public Scalar ( string anchor, string tag, string value, ScalarStyle style, bool isPlainImplicit, bool isQuotedImplicit, Mark start, Mark end ) : System.Globalization
anchor string The anchor.
tag string The tag.
value string The value.
style ScalarStyle The style.
isPlainImplicit bool .
isQuotedImplicit bool .
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