C# 클래스 Sep.Git.Tfs.VsFake.TfsHelper

상속: ITfsHelper
파일 보기 프로젝트 열기: git-tfs/git-tfs

Private Properties

프로퍼티 타입 설명
BuildTfsChangeset ITfsChangeset
GetRealRootBranch string

공개 메소드들

메소드 설명
CleanupWorkspaces ( string workingDirectory ) : void
CreateBranch ( string sourcePath, string targetPath, int changesetId, string comment = null ) : void
CreateCheckinNote ( string>.Dictionary checkinNotes ) : ICheckinNote
CreateShelveset ( IWorkspace workspace, string shelvesetName ) : IShelveset
CreateTfsRootBranch ( string projectName, string mainBranch, string gitRepositoryPath, bool createTeamProjectFolder ) : void
DeleteShelveset ( IWorkspace workspace, string shelvesetName ) : void
EnsureAuthenticated ( ) : void
FindMergeChangesetParent ( string path, int firstChangeset, GitTfsRemote remote ) : int
GetAllTfsRootBranchesOrderedByCreation ( ) : IEnumerable
GetBranches ( bool getDeletedBranches = false ) : IEnumerable
GetChangeset ( int changesetId ) : IChangeset
GetChangeset ( int changesetId, IGitTfsRemote remote ) : ITfsChangeset
GetChangesets ( string path, int startVersion, IGitTfsRemote remote, int lastVersion = -1, bool byLots = false ) : IEnumerable
GetIdentity ( string username ) : IIdentity
GetLabels ( string tfsPathBranch, string nameFilter = null ) : IEnumerable
GetLatestChangeset ( IGitTfsRemote remote ) : ITfsChangeset
GetLatestChangesetId ( IGitTfsRemote remote ) : int
GetRootChangesetForBranch ( string tfsPathBranchToCreate, int lastChangesetIdToCheck = -1, string tfsPathParentBranch = null ) : IList
GetShelvesetData ( IGitTfsRemote remote, string shelvesetOwner, string shelvesetName ) : ITfsChangeset
GetWorkItemCheckedInfos ( IEnumerable workItems, TfsWorkItemCheckinAction checkinAction ) : IEnumerable
GetWorkItemInfos ( IEnumerable workItems, TfsWorkItemCheckinAction checkinAction ) : IEnumerable
HasShelveset ( string shelvesetName ) : bool
IsExistingInTfs ( string path ) : bool
ListShelvesets ( ShelveList shelveList, IGitTfsRemote remote ) : int
QueueGatedCheckinBuild ( Uri value, string buildDefinitionName, string shelvesetName, string checkInTicket ) : int
SetPathResolver ( ) : void
ShowCheckinDialog ( IWorkspace workspace, IPendingChange pendingChanges, IEnumerable checkedInfos, string checkinComment ) : int
TfsHelper ( IContainer container, Script script ) : System
WithWorkspace ( string localDirectory, IGitTfsRemote remote, string>.IEnumerable mappings, TfsChangesetInfo versionToFetch, Action action ) : void
WithWorkspace ( string directory, IGitTfsRemote remote, TfsChangesetInfo versionToFetch, Action action ) : void

비공개 메소드들

메소드 설명
BuildTfsChangeset ( ScriptedChangeset changeset, IGitTfsRemote remote ) : ITfsChangeset
GetRealRootBranch ( List deletedBranches, string branchPath ) : string

메소드 상세

CleanupWorkspaces() 공개 메소드

public CleanupWorkspaces ( string workingDirectory ) : void
workingDirectory string
리턴 void

CreateBranch() 공개 메소드

public CreateBranch ( string sourcePath, string targetPath, int changesetId, string comment = null ) : void
sourcePath string
targetPath string
changesetId int
comment string
리턴 void

CreateCheckinNote() 공개 메소드

public CreateCheckinNote ( string>.Dictionary checkinNotes ) : ICheckinNote
checkinNotes string>.Dictionary
리턴 ICheckinNote

CreateShelveset() 공개 메소드

public CreateShelveset ( IWorkspace workspace, string shelvesetName ) : IShelveset
workspace IWorkspace
shelvesetName string
리턴 IShelveset

CreateTfsRootBranch() 공개 메소드

public CreateTfsRootBranch ( string projectName, string mainBranch, string gitRepositoryPath, bool createTeamProjectFolder ) : void
projectName string
mainBranch string
gitRepositoryPath string
createTeamProjectFolder bool
리턴 void

DeleteShelveset() 공개 메소드

public DeleteShelveset ( IWorkspace workspace, string shelvesetName ) : void
workspace IWorkspace
shelvesetName string
리턴 void

EnsureAuthenticated() 공개 메소드

public EnsureAuthenticated ( ) : void
리턴 void

FindMergeChangesetParent() 공개 메소드

public FindMergeChangesetParent ( string path, int firstChangeset, GitTfsRemote remote ) : int
path string
firstChangeset int
remote GitTfsRemote
리턴 int

GetAllTfsRootBranchesOrderedByCreation() 공개 메소드

public GetAllTfsRootBranchesOrderedByCreation ( ) : IEnumerable
리턴 IEnumerable

GetBranches() 공개 메소드

public GetBranches ( bool getDeletedBranches = false ) : IEnumerable
getDeletedBranches bool
리턴 IEnumerable

GetChangeset() 공개 메소드

public GetChangeset ( int changesetId ) : IChangeset
changesetId int
리턴 IChangeset

GetChangeset() 공개 메소드

public GetChangeset ( int changesetId, IGitTfsRemote remote ) : ITfsChangeset
changesetId int
remote IGitTfsRemote
리턴 ITfsChangeset

GetChangesets() 공개 메소드

public GetChangesets ( string path, int startVersion, IGitTfsRemote remote, int lastVersion = -1, bool byLots = false ) : IEnumerable
path string
startVersion int
remote IGitTfsRemote
lastVersion int
byLots bool
리턴 IEnumerable

GetIdentity() 공개 메소드

public GetIdentity ( string username ) : IIdentity
username string
리턴 IIdentity

GetLabels() 공개 메소드

public GetLabels ( string tfsPathBranch, string nameFilter = null ) : IEnumerable
tfsPathBranch string
nameFilter string
리턴 IEnumerable

GetLatestChangeset() 공개 메소드

public GetLatestChangeset ( IGitTfsRemote remote ) : ITfsChangeset
remote IGitTfsRemote
리턴 ITfsChangeset

GetLatestChangesetId() 공개 메소드

public GetLatestChangesetId ( IGitTfsRemote remote ) : int
remote IGitTfsRemote
리턴 int

GetRootChangesetForBranch() 공개 메소드

public GetRootChangesetForBranch ( string tfsPathBranchToCreate, int lastChangesetIdToCheck = -1, string tfsPathParentBranch = null ) : IList
tfsPathBranchToCreate string
lastChangesetIdToCheck int
tfsPathParentBranch string
리턴 IList

GetShelvesetData() 공개 메소드

public GetShelvesetData ( IGitTfsRemote remote, string shelvesetOwner, string shelvesetName ) : ITfsChangeset
remote IGitTfsRemote
shelvesetOwner string
shelvesetName string
리턴 ITfsChangeset

GetWorkItemCheckedInfos() 공개 메소드

public GetWorkItemCheckedInfos ( IEnumerable workItems, TfsWorkItemCheckinAction checkinAction ) : IEnumerable
workItems IEnumerable
checkinAction TfsWorkItemCheckinAction
리턴 IEnumerable

GetWorkItemInfos() 공개 메소드

public GetWorkItemInfos ( IEnumerable workItems, TfsWorkItemCheckinAction checkinAction ) : IEnumerable
workItems IEnumerable
checkinAction TfsWorkItemCheckinAction
리턴 IEnumerable

HasShelveset() 공개 메소드

public HasShelveset ( string shelvesetName ) : bool
shelvesetName string
리턴 bool

IsExistingInTfs() 공개 메소드

public IsExistingInTfs ( string path ) : bool
path string
리턴 bool

ListShelvesets() 공개 메소드

public ListShelvesets ( ShelveList shelveList, IGitTfsRemote remote ) : int
shelveList ShelveList
remote IGitTfsRemote
리턴 int

QueueGatedCheckinBuild() 공개 메소드

public QueueGatedCheckinBuild ( Uri value, string buildDefinitionName, string shelvesetName, string checkInTicket ) : int
value Uri
buildDefinitionName string
shelvesetName string
checkInTicket string
리턴 int

SetPathResolver() 공개 메소드

public SetPathResolver ( ) : void
리턴 void

ShowCheckinDialog() 공개 메소드

public ShowCheckinDialog ( IWorkspace workspace, IPendingChange pendingChanges, IEnumerable checkedInfos, string checkinComment ) : int
workspace IWorkspace
pendingChanges IPendingChange
checkedInfos IEnumerable
checkinComment string
리턴 int

TfsHelper() 공개 메소드

public TfsHelper ( IContainer container, Script script ) : System
container IContainer
script Script
리턴 System

WithWorkspace() 공개 메소드

public WithWorkspace ( string localDirectory, IGitTfsRemote remote, string>.IEnumerable mappings, TfsChangesetInfo versionToFetch, Action action ) : void
localDirectory string
remote IGitTfsRemote
mappings string>.IEnumerable
versionToFetch TfsChangesetInfo
action Action
리턴 void

WithWorkspace() 공개 메소드

public WithWorkspace ( string directory, IGitTfsRemote remote, TfsChangesetInfo versionToFetch, Action action ) : void
directory string
remote IGitTfsRemote
versionToFetch TfsChangesetInfo
action Action
리턴 void