C# Class ZocBuild.Database.ScriptRepositories.DvcsScriptRepositoryBase.ChangesetId

Represents the identifier of a specific revision.
Inheritance: RevisionIdentifierBase
Show file Open project: Zocdoc/ZocBuild.Database

Public Methods

Method Description
ChangesetId ( byte hash ) : System

Instantiates the changesetId with the given SHA hash.

ChangesetId ( string hex ) : System

Instantiates the changesetId with the given SHA hash.

ToString ( ) : string

Returns a string representation of the object.

Private Methods

Method Description
ChangesetId ( ) : System

Method Details

ChangesetId() public method

Instantiates the changesetId with the given SHA hash.
public ChangesetId ( byte hash ) : System
hash byte A length 20 byte array containing the hash value.
return System

ChangesetId() public method

Instantiates the changesetId with the given SHA hash.
public ChangesetId ( string hex ) : System
hex string A length 40 string containing the base 16 encoding of the hash value.
return System

ToString() public method

Returns a string representation of the object.
public ToString ( ) : string
return string