C# Class DXVcs2Git.UI.ViewModels.BranchViewModel

Inheritance: BindableBase
Exibir arquivo Open project: Xarlot/DXVcs2Git Class Usage Examples

Public Methods

Method Description
AbortBuild ( NGitLab.Models.MergeRequest mergeRequest, Build build = null ) : void
AddMergeRequestSyncInfo ( bool performTesting, bool assignToService ) : void
BranchViewModel ( GitLabWrapper gitLabWrapper, RepositoryViewModel repository, string branch ) : System
CalcBranchInfo ( ) : NGitLab.Models.Branch
CloseMergeRequest ( ) : void
CreateMergeRequest ( string title, string description, string user, string sourceBranch, string targetBranch ) : void
DownloadArtifacts ( NGitLab.Models.MergeRequest mergeRequest, Build build ) : byte[]
DownloadArtifacts ( string project, Build build ) : byte[]
DownloadTrace ( NGitLab.Models.MergeRequest mergeRequest, Build build ) : byte[]
Equals ( object obj ) : bool
ForceBuild ( ) : void
ForceBuild ( NGitLab.Models.MergeRequest mergeRequest, Build build = null ) : void
GetBuilds ( NGitLab.Models.MergeRequest mergeRequest, NGitLab.Sha1 sha ) : IEnumerable
GetCommits ( NGitLab.Models.MergeRequest mergeRequest ) : IEnumerable
GetHashCode ( ) : int
GetMergeRequestChanges ( NGitLab.Models.MergeRequest mergeRequest ) : IEnumerable
GetSyncOptions ( NGitLab.Models.MergeRequest mergeRequest ) : MergeRequestSyncAction
RefreshFarm ( ) : void
RefreshMergeRequest ( ) : void
UpdateMergeRequest ( string comment ) : void
UpdateMergeRequest ( string title, string description, string assignee ) : void
UpdateWebHook ( ) : void

Protected Methods

Method Description
Equals ( BranchViewModel other ) : bool

Private Methods

Method Description
CanForceBuild ( ) : bool
IsXml ( string xml ) : bool

Method Details

AbortBuild() public method

public AbortBuild ( NGitLab.Models.MergeRequest mergeRequest, Build build = null ) : void
mergeRequest NGitLab.Models.MergeRequest
build Build
return void

AddMergeRequestSyncInfo() public method

public AddMergeRequestSyncInfo ( bool performTesting, bool assignToService ) : void
performTesting bool
assignToService bool
return void

BranchViewModel() public method

public BranchViewModel ( GitLabWrapper gitLabWrapper, RepositoryViewModel repository, string branch ) : System
gitLabWrapper DXVcs2Git.Git.GitLabWrapper
repository RepositoryViewModel
branch string
return System

CalcBranchInfo() public method

public CalcBranchInfo ( ) : NGitLab.Models.Branch
return NGitLab.Models.Branch

CloseMergeRequest() public method

public CloseMergeRequest ( ) : void
return void

CreateMergeRequest() public method

public CreateMergeRequest ( string title, string description, string user, string sourceBranch, string targetBranch ) : void
title string
description string
user string
sourceBranch string
targetBranch string
return void

DownloadArtifacts() public method

public DownloadArtifacts ( NGitLab.Models.MergeRequest mergeRequest, Build build ) : byte[]
mergeRequest NGitLab.Models.MergeRequest
build Build
return byte[]

DownloadArtifacts() public method

public DownloadArtifacts ( string project, Build build ) : byte[]
project string
build Build
return byte[]

DownloadTrace() public method

public DownloadTrace ( NGitLab.Models.MergeRequest mergeRequest, Build build ) : byte[]
mergeRequest NGitLab.Models.MergeRequest
build Build
return byte[]

Equals() protected method

protected Equals ( BranchViewModel other ) : bool
other BranchViewModel
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

ForceBuild() public method

public ForceBuild ( ) : void
return void

ForceBuild() public method

public ForceBuild ( NGitLab.Models.MergeRequest mergeRequest, Build build = null ) : void
mergeRequest NGitLab.Models.MergeRequest
build Build
return void

GetBuilds() public method

public GetBuilds ( NGitLab.Models.MergeRequest mergeRequest, NGitLab.Sha1 sha ) : IEnumerable
mergeRequest NGitLab.Models.MergeRequest
sha NGitLab.Sha1
return IEnumerable

GetCommits() public method

public GetCommits ( NGitLab.Models.MergeRequest mergeRequest ) : IEnumerable
mergeRequest NGitLab.Models.MergeRequest
return IEnumerable

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetMergeRequestChanges() public method

public GetMergeRequestChanges ( NGitLab.Models.MergeRequest mergeRequest ) : IEnumerable
mergeRequest NGitLab.Models.MergeRequest
return IEnumerable

GetSyncOptions() public method

public GetSyncOptions ( NGitLab.Models.MergeRequest mergeRequest ) : MergeRequestSyncAction
mergeRequest NGitLab.Models.MergeRequest
return DXVcs2Git.Core.GitLab.MergeRequestSyncAction

RefreshFarm() public method

public RefreshFarm ( ) : void
return void

RefreshMergeRequest() public method

public RefreshMergeRequest ( ) : void
return void

UpdateMergeRequest() public method

public UpdateMergeRequest ( string comment ) : void
comment string
return void

UpdateMergeRequest() public method

public UpdateMergeRequest ( string title, string description, string assignee ) : void
title string
description string
assignee string
return void

UpdateWebHook() public method

public UpdateWebHook ( ) : void
return void