C# Class dotGit.Contributer

Class to represent an author or committer in the Git world. Mainly used by the pack file when reading a Commit.
Afficher le fichier Open project: schacon/dotgit Class Usage Examples

Méthodes publiques

Méthode Description
Contributer ( string name ) : System
Contributer ( string name, string email ) : System
Parse ( string input ) : Contributer

Load Contributer from git formatted string.

ToString ( ) : string

Returns the name and email in git format: 'John Doe <[email protected]>'

Private Methods

Méthode Description
Contributer ( ) : System

Method Details

Contributer() public méthode

public Contributer ( string name ) : System
name string
Résultat System

Contributer() public méthode

public Contributer ( string name, string email ) : System
name string
email string
Résultat System

Parse() public static méthode

Load Contributer from git formatted string.
public static Parse ( string input ) : Contributer
input string string in format: 'John Doe <[email protected]>'
Résultat Contributer

ToString() public méthode

Returns the name and email in git format: 'John Doe <[email protected]>'
public ToString ( ) : string
Résultat string