C# 클래스 YamlDotNet.Core.Tokens.VersionDirective

상속: Token
파일 보기 프로젝트 열기: aaubry/YamlDotNet 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

VersionDirective ( System.Version version ) : System

Initializes a new instance of the VersionDirective class.

VersionDirective ( System.Version version, Mark start, Mark end ) : System

Initializes a new instance of the VersionDirective class.

메소드 상세

Equals() 공개 메소드

Determines whether the specified System.Object is equal to the current System.Object.
public Equals ( object obj ) : bool
obj object The System.Object to compare with the current System.Object.
리턴 bool

GetHashCode() 공개 메소드

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
리턴 int

VersionDirective() 공개 메소드

Initializes a new instance of the VersionDirective class.
public VersionDirective ( System.Version version ) : System
version System.Version The version.
리턴 System

VersionDirective() 공개 메소드

Initializes a new instance of the VersionDirective class.
public VersionDirective ( System.Version version, Mark start, Mark end ) : System
version System.Version The version.
start Mark The start position of the token.
end Mark The end position of the token.
리턴 System