C# Class AppVeyor.UI.Model.Repository

Show file Open project: onlyutkarsh/AppVeyorExtension

Public Methods

Method Description
CancelBuild ( Project project ) : Task>
GetProjects ( ) : Task>>
Repository ( string apiToken ) : System
StartBuild ( Project project ) : Task>
UpdatePollingInterval ( System.TimeSpan currentPollDuration, List projects, bool isPollingCancelled ) : System.TimeSpan

Method Details

CancelBuild() public method

public CancelBuild ( Project project ) : Task>
project AppVeyor.Common.Entities.Project
return Task>

GetProjects() public method

public GetProjects ( ) : Task>>
return Task>>

Repository() public method

public Repository ( string apiToken ) : System
apiToken string
return System

StartBuild() public method

public StartBuild ( Project project ) : Task>
project AppVeyor.Common.Entities.Project
return Task>

UpdatePollingInterval() public method

public UpdatePollingInterval ( System.TimeSpan currentPollDuration, List projects, bool isPollingCancelled ) : System.TimeSpan
currentPollDuration System.TimeSpan
projects List
isPollingCancelled bool
return System.TimeSpan