C# Class GitSharp.Core.PersonIdent

ファイルを表示 Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method Description
Equals ( object o ) : bool
GetHashCode ( ) : int
PersonIdent ( PersonIdent pi ) : System

Copy a PersonIdent.

PersonIdent ( PersonIdent pi, System.DateTime when ) : System

Copy a PersonIdent, but alter the clone's time stamp

PersonIdent ( PersonIdent pi, System.DateTime when, int tz ) : System

Copy a PersonIdent, but alter the clone's time stamp

PersonIdent ( PersonIdent pi, long when, int tz ) : System

Copy a PersonIdent, but alter the clone's time stamp

PersonIdent ( Repository repo ) : System

Creates new PersonIdent from config info in repository, with current time. This new PersonIdent gets the info from the default committer as available from the configuration.

PersonIdent ( string str ) : System

Construct a PersonIdent from a string with full name, email, time time zone string. The input string must be valid.

PersonIdent ( string name, string emailAddress ) : System

Construct a new PersonIdent with current time.

PersonIdent ( string name, string emailAddress, System.DateTime when, int tz ) : System

Construct a PersonIdent from simple data

PersonIdent ( string name, string emailAddress, long when, int tz ) : System

Construct a PersonIdent

ToExternalString ( ) : string

Format for Git storage.

ToString ( ) : string

Private Methods

Method Description
appendTimezone ( StringBuilder r ) : void

Method Details

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

PersonIdent() public method

Copy a PersonIdent.
public PersonIdent ( PersonIdent pi ) : System
pi PersonIdent Original .
return System

PersonIdent() public method

Copy a PersonIdent, but alter the clone's time stamp
public PersonIdent ( PersonIdent pi, System.DateTime when ) : System
pi PersonIdent Original .
when System.DateTime Local date time in milliseconds (since Epoch).
return System

PersonIdent() public method

Copy a PersonIdent, but alter the clone's time stamp
public PersonIdent ( PersonIdent pi, System.DateTime when, int tz ) : System
pi PersonIdent Original .
when System.DateTime Local date time in milliseconds (since Epoch).
tz int Time zone offset in minutes.
return System

PersonIdent() public method

Copy a PersonIdent, but alter the clone's time stamp
public PersonIdent ( PersonIdent pi, long when, int tz ) : System
pi PersonIdent Original .
when long Local date time in milliseconds (since Epoch).
tz int Time zone offset in minutes.
return System

PersonIdent() public method

Creates new PersonIdent from config info in repository, with current time. This new PersonIdent gets the info from the default committer as available from the configuration.
public PersonIdent ( Repository repo ) : System
repo Repository
return System

PersonIdent() public method

Construct a PersonIdent from a string with full name, email, time time zone string. The input string must be valid.
public PersonIdent ( string str ) : System
str string A Git internal format author/committer string.
return System

PersonIdent() public method

Construct a new PersonIdent with current time.
public PersonIdent ( string name, string emailAddress ) : System
name string
emailAddress string
return System

PersonIdent() public method

Construct a PersonIdent from simple data
public PersonIdent ( string name, string emailAddress, System.DateTime when, int tz ) : System
name string
emailAddress string
when System.DateTime Local date time in milliseconds (since Epoch).
tz int Time zone offset in minutes.
return System

PersonIdent() public method

Construct a PersonIdent
public PersonIdent ( string name, string emailAddress, long when, int tz ) : System
name string
emailAddress string
when long Local date time in milliseconds (since Epoch).
tz int Time zone offset in minutes.
return System

ToExternalString() public method

Format for Git storage.
public ToExternalString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string