C# Класс DeploymentTracker.App.Utilities.UtilityLibrary

TODO: Update summary.
Показать файл Открыть проект

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

Метод Описание
DeleteTFSConnectionStringToDB ( this tfsConnectionString ) : void

Deletes the TFS connection string to DB.

GenerateTFSUrl ( this tfsConnectionString ) : string

Generates the TFS URL.

GetTFSConnectionString ( this tfsServerName ) : TFSConnectionString

Gets the TFS connection string.

PopInformationDialog ( this message, string header = "Information Details" ) : void

Shows the UI information.

SaveOrUpdateTFSConnectionStringToDB ( this tfsConnectionString, bool raiseErrorIfExists = false ) : void

Converts to TFS connection string.

SaveThisInDB ( this buildItem ) : void

Saves the this in DB.

ShowGenericException ( this ex, string customMessage = "" ) : void

Shows the generic exception.

ShowUIException ( this ex ) : void

Shows the UI exception.

ShowUIInformation ( this message, FormStartPosition startpos = FormStartPosition.CenterParent ) : void

Shows the UI information.

StoreLogEntry ( this logEntry ) : void

Stores the log entry.

WriteToLog ( this ex ) : void

Writes to log.

WriteToSystemLog ( this ex, string logLine ) : void

Writes to system log.

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

Метод Описание
CanRollback ( string solutionName ) : bool

Determines whether this instance can rollback the specified solution name.

GetLastSuccessfulVersionForSolution ( string solutionName, string currentVersion ) : string

Gets the last successful version for solution.

GetUniqueVersionForSolution ( string solutionName ) : string

Gets the unique version for solution.

IsRollbackVersion ( string solutionName, string version ) : bool

Determines whether [is rollback version] [the specified solution name].

UpdateAllSolutionFlagsToNull ( string solutionName ) : void

Updates the solution flags to null.

UpdateDeploymentLogStatus ( string solutionName, string version, DeploymentStatus deploymentStatus ) : void

Updates the deployment log status.

UpdateSolutionFlagsToNull ( string solutionName, string currentVersion ) : void

Updates the solution flags to null.

ValidateAppSettings ( ) : void

Validates the app settings.

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

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

Deletes the TFS connection string to DB.
public static DeleteTFSConnectionStringToDB ( this tfsConnectionString ) : void
tfsConnectionString this The TFS connection string.
Результат void

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

Generates the TFS URL.
public static GenerateTFSUrl ( this tfsConnectionString ) : string
tfsConnectionString this The TFS connection string.
Результат string

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

Gets the TFS connection string.
public static GetTFSConnectionString ( this tfsServerName ) : TFSConnectionString
tfsServerName this Name of the TFS server.
Результат DeploymentTracker.Services.Entities.TFSConnectionString

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

Shows the UI information.
public static PopInformationDialog ( this message, string header = "Information Details" ) : void
message this The message.
header string The header.
Результат void

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

Converts to TFS connection string.
public static SaveOrUpdateTFSConnectionStringToDB ( this tfsConnectionString, bool raiseErrorIfExists = false ) : void
tfsConnectionString this The TFS connection parameters.
raiseErrorIfExists bool
Результат void

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

Saves the this in DB.
public static SaveThisInDB ( this buildItem ) : void
buildItem this The build item.
Результат void

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

Shows the generic exception.
public static ShowGenericException ( this ex, string customMessage = "" ) : void
ex this The ex.
customMessage string The custom message.
Результат void

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

Shows the UI exception.
public static ShowUIException ( this ex ) : void
ex this The ex.
Результат void

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

Shows the UI information.
public static ShowUIInformation ( this message, FormStartPosition startpos = FormStartPosition.CenterParent ) : void
message this The message.
startpos FormStartPosition The startpos.
Результат void

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

Stores the log entry.
public static StoreLogEntry ( this logEntry ) : void
logEntry this The log entry.
Результат void

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

Writes to log.
public static WriteToLog ( this ex ) : void
ex this The ex.
Результат void

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

Writes to system log.
public static WriteToSystemLog ( this ex, string logLine ) : void
ex this The ex.
logLine string
Результат void