C# Класс Elmah.SccStamp

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
SccStamp ( ) : System

Описание методов

FindAll() публичный статический Метод

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
Результат Elmah.SccStamp[]

FindLatest() публичный статический Метод

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
Результат SccStamp

FindLatest() публичный статический Метод

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
Результат SccStamp

SccStamp() публичный Метод

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
Результат System

SortByRevision() публичный статический Метод

Sorts an array of SccStamp objects by their revision numbers in ascending order.
public static SortByRevision ( SccStamp stamps ) : void
stamps SccStamp
Результат void

SortByRevision() публичный статический Метод

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
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string