C# Class YamlDotNet.Core.Events.Scalar

Represents a scalar event.
Inheritance: NodeEvent, IScalar
Afficher le fichier Open project: aaubry/YamlDotNet Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

Scalar() public méthode

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

Scalar() public méthode

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

Scalar() public méthode

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

Scalar() public méthode

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 .
Résultat System.Globalization

Scalar() public méthode

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.
Résultat System.Globalization

ToString() public méthode

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