C# Класс GitScc.Blinkbox.DevelopmentService

Implementation of common development processes.
Наследование: IDisposable
Показать файл Открыть проект

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

Метод Описание
CancelReview ( ) : void

Cancels a review.

Checkin ( ) : void

Get the latest from TFS

DevelopmentService ( SccProviderService sccProvider, NotificationService notificationService, SccHelperService sccHelper ) : System

Initializes a new instance of the DevelopmentService class.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetLatest ( ) : void

Get the latest from TFS

RefreshTfsStatus ( bool forceUpdate ) : void

Updates the TFS status and displays in the pending changes window.

Review ( ) : void

Compare working directory with TFS

RunAsync ( System.Action action, string operation ) : Task

Runs the provided action asyncronously.

RunUnitTests ( ) : void

Executes unit tests.

UpdateTfsStatus ( ) : void

Updates the TFS status and displays in the pending changes window.

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

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

Checks whether the provided branch is ahead and/or behind tfs.

CheckWorkingDirectoryClean ( ) : bool

Checks whether the working directory has any unchanged files or is in the middle of a merge.

CommitIfRequired ( ) : void

Merges if required.

FetchFromTfs ( bool silent = false ) : void

Fetches from TFS into the tfs/default remote branch.

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

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

Cancels a review.
public CancelReview ( ) : void
Результат void

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

Get the latest from TFS
public Checkin ( ) : void
Результат void

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

Initializes a new instance of the DevelopmentService class.
public DevelopmentService ( SccProviderService sccProvider, NotificationService notificationService, SccHelperService sccHelper ) : System
sccProvider SccProviderService The SCC provider.
notificationService NotificationService The notification service.
sccHelper SccHelperService The SCC helper.
Результат System

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Get the latest from TFS
public GetLatest ( ) : void
Результат void

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

Updates the TFS status and displays in the pending changes window.
public RefreshTfsStatus ( bool forceUpdate ) : void
forceUpdate bool if set to true [force update].
Результат void

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

Compare working directory with TFS
public Review ( ) : void
Результат void

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

Runs the provided action asyncronously.
public RunAsync ( System.Action action, string operation ) : Task
action System.Action The action.
operation string The operation.
Результат Task

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

Executes unit tests.
public RunUnitTests ( ) : void
Результат void

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

Updates the TFS status and displays in the pending changes window.
public UpdateTfsStatus ( ) : void
Результат void