C# Class Elmah.SccStamp

Afficher le fichier Open project: elmah/Elmah Class Usage Examples

Méthodes publiques

Méthode Description
FindAll ( Assembly assembly ) : Elmah.SccStamp[]

Finds and builds an array of SccStamp instances from all the SccAttribute attributes applied to the given assembly.

FindLatest ( Assembly assembly ) : SccStamp

Finds the latest SCC stamp for an assembly. The latest stamp is the one with the highest revision number.

FindLatest ( SccStamp stamps ) : SccStamp

Finds the latest stamp among an array of SccStamp objects. The latest stamp is the one with the highest revision number.

SccStamp ( string id ) : System

Initializes an SccStamp instance given a SCC stamp ID. The ID is expected to be in the format popularized by CVS and SVN.

SortByRevision ( SccStamp stamps ) : void

Sorts an array of SccStamp objects by their revision numbers in ascending order.

SortByRevision ( SccStamp stamps, bool descending ) : void

Sorts an array of SccStamp objects by their revision numbers in ascending or descending order.

ToString ( ) : string

Private Methods

Méthode Description
SccStamp ( ) : System

Method Details

FindAll() public static méthode

Finds and builds an array of SccStamp instances from all the SccAttribute attributes applied to the given assembly.
public static FindAll ( Assembly assembly ) : Elmah.SccStamp[]
assembly System.Reflection.Assembly
Résultat Elmah.SccStamp[]

FindLatest() public static méthode

Finds the latest SCC stamp for an assembly. The latest stamp is the one with the highest revision number.
public static FindLatest ( Assembly assembly ) : SccStamp
assembly System.Reflection.Assembly
Résultat SccStamp

FindLatest() public static méthode

Finds the latest stamp among an array of SccStamp objects. The latest stamp is the one with the highest revision number.
public static FindLatest ( SccStamp stamps ) : SccStamp
stamps SccStamp
Résultat SccStamp

SccStamp() public méthode

Initializes an SccStamp instance given a SCC stamp ID. The ID is expected to be in the format popularized by CVS and SVN.
public SccStamp ( string id ) : System
id string
Résultat System

SortByRevision() public static méthode

Sorts an array of SccStamp objects by their revision numbers in ascending order.
public static SortByRevision ( SccStamp stamps ) : void
stamps SccStamp
Résultat void

SortByRevision() public static méthode

Sorts an array of SccStamp objects by their revision numbers in ascending or descending order.
public static SortByRevision ( SccStamp stamps, bool descending ) : void
stamps SccStamp
descending bool
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string