C# 클래스 GitScc.Blinkbox.DevelopmentService

Implementation of common development processes.
상속: IDisposable
파일 보기 프로젝트 열기: blinkbox/Git-Source-Control-Provider

공개 메소드들

메소드 설명
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