Summary
Base class for all pull request system implementations.
- Assembly
- Cake
.Prca .dll - Namespace
- Cake
.Prca .PullRequests - Interfaces
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Interface0["IPullRequestSystem"]-.->Type
click Interface0 "/Cake.Prca.Website/api/Cake.Prca.PullRequests/IPullRequestSystem"
Type["PullRequestSystem"]
class Type type-node
Syntax
public abstract class PullRequestSystem : IPullRequestSystem
Constructors
Name | Summary |
---|---|
PullRequestSystem |
Initializes a new instance of the PullRequestSystem class.
|
Properties
Name | Value | Summary |
---|---|---|
Log | ICakeLog |
Gets the Cake log context.
|
PrcaSettings | Report |
Gets general settings.
Is set after
Initialize(ReportIssuesToPullRequestSettings) was called from the core addin.
|
Methods
Name | Value | Summary |
---|---|---|
Fetch |
IEnumerable |
Returns a list of all active discussion threads.
|
Get |
IEnumerable |
Returns a list of all files modified in a pull request.
|
Get |
PrcaCommentFormat |
Returns the preferred format for pull request comments.
|
Initialize |
bool |
Initializes the code analysis provider.
|
Internal |
IEnumerable |
Returns a list of all active discussion threads.
Compared to
FetchActiveDiscussionThreads(string) it is safe to access PrcaSettings from this method.
|
Internal |
IEnumerable |
Returns a list of all files modified in a pull request.
Compared to
GetModifiedFilesInPullRequest() it is safe to access PrcaSettings from this method.
|
Internal |
void |
Marks a list of discussion threads as resolved.
Compared to
MarkThreadsAsFixed(IEnumerable<IPrcaDiscussionThread>) it is safe to access PrcaSettings from this method.
|
Internal |
void |
Posts discussion threads for all issues which need to be posted.
Compared to
PostDiscussionThreads(IEnumerable<ICodeAnalysisIssue>, string) it is safe to access PrcaSettings from this method.
|
MarkThreadsAsFixed |
void |
Marks a list of discussion threads as resolved.
|
Post |
void |
Posts discussion threads for all issues which need to be posted.
|
Extension Methods
Name | Value | Summary |
---|---|---|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From PrcaArgumentChecks
|