C# Class GitHub.Services.ModelService.PullRequestCacheItem

Inheritance: CacheItem
Mostrar archivo Open project: github/VisualStudio

Public Methods

Method Description
Create ( Octokit.PullRequest pr ) : PullRequestCacheItem
Create ( Octokit.PullRequest pr, IReadOnlyList files ) : PullRequestCacheItem
PullRequestCacheItem ( ) : System
PullRequestCacheItem ( Octokit.PullRequest pr ) : System
PullRequestCacheItem ( Octokit.PullRequest pr, IReadOnlyList files ) : System

Private Methods

Method Description
GetState ( Octokit.PullRequest pullRequest ) : PullRequestStateEnum

Method Details

Create() public static method

public static Create ( Octokit.PullRequest pr ) : PullRequestCacheItem
pr Octokit.PullRequest
return PullRequestCacheItem

Create() public static method

public static Create ( Octokit.PullRequest pr, IReadOnlyList files ) : PullRequestCacheItem
pr Octokit.PullRequest
files IReadOnlyList
return PullRequestCacheItem

PullRequestCacheItem() public method

public PullRequestCacheItem ( ) : System
return System

PullRequestCacheItem() public method

public PullRequestCacheItem ( Octokit.PullRequest pr ) : System
pr Octokit.PullRequest
return System

PullRequestCacheItem() public method

public PullRequestCacheItem ( Octokit.PullRequest pr, IReadOnlyList files ) : System
pr Octokit.PullRequest
files IReadOnlyList
return System