C# Class DXVcs2Git.UI.ViewModels.BranchViewModel

Inheritance: BindableBase
Afficher le fichier Open project: Xarlot/DXVcs2Git Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Equals ( BranchViewModel other ) : bool

Private Methods

Méthode Description
CanForceBuild ( ) : bool
IsXml ( string xml ) : bool

Method Details

AbortBuild() public méthode

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

AddMergeRequestSyncInfo() public méthode

public AddMergeRequestSyncInfo ( bool performTesting, bool assignToService ) : void
performTesting bool
assignToService bool
Résultat void

BranchViewModel() public méthode

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

CalcBranchInfo() public méthode

public CalcBranchInfo ( ) : NGitLab.Models.Branch
Résultat NGitLab.Models.Branch

CloseMergeRequest() public méthode

public CloseMergeRequest ( ) : void
Résultat void

CreateMergeRequest() public méthode

public CreateMergeRequest ( string title, string description, string user, string sourceBranch, string targetBranch ) : void
title string
description string
user string
sourceBranch string
targetBranch string
Résultat void

DownloadArtifacts() public méthode

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

DownloadArtifacts() public méthode

public DownloadArtifacts ( string project, Build build ) : byte[]
project string
build Build
Résultat byte[]

DownloadTrace() public méthode

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

Equals() protected méthode

protected Equals ( BranchViewModel other ) : bool
other BranchViewModel
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

ForceBuild() public méthode

public ForceBuild ( ) : void
Résultat void

ForceBuild() public méthode

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

GetBuilds() public méthode

public GetBuilds ( NGitLab.Models.MergeRequest mergeRequest, NGitLab.Sha1 sha ) : IEnumerable
mergeRequest NGitLab.Models.MergeRequest
sha NGitLab.Sha1
Résultat IEnumerable

GetCommits() public méthode

public GetCommits ( NGitLab.Models.MergeRequest mergeRequest ) : IEnumerable
mergeRequest NGitLab.Models.MergeRequest
Résultat IEnumerable

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetMergeRequestChanges() public méthode

public GetMergeRequestChanges ( NGitLab.Models.MergeRequest mergeRequest ) : IEnumerable
mergeRequest NGitLab.Models.MergeRequest
Résultat IEnumerable

GetSyncOptions() public méthode

public GetSyncOptions ( NGitLab.Models.MergeRequest mergeRequest ) : MergeRequestSyncAction
mergeRequest NGitLab.Models.MergeRequest
Résultat DXVcs2Git.Core.GitLab.MergeRequestSyncAction

RefreshFarm() public méthode

public RefreshFarm ( ) : void
Résultat void

RefreshMergeRequest() public méthode

public RefreshMergeRequest ( ) : void
Résultat void

UpdateMergeRequest() public méthode

public UpdateMergeRequest ( string comment ) : void
comment string
Résultat void

UpdateMergeRequest() public méthode

public UpdateMergeRequest ( string title, string description, string assignee ) : void
title string
description string
assignee string
Résultat void

UpdateWebHook() public méthode

public UpdateWebHook ( ) : void
Résultat void