This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.PullRequests.
Summary
Base class for a collection of pull request comments relating to each other.
- Assembly
- Cake
.Issues .PullRequests .dll - Namespace
- Cake
.Issues .PullRequests - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IPullRequestDiscussionThread"]
click Interface0 "/api/Cake.Issues.PullRequests/IPullRequestDiscussionThread"
Type["PullRequestDiscussionThread"]
class Type type-node
Syntax
public class PullRequestDiscussionThread : IPullRequestDiscussionThread
Constructors
Name | Summary |
---|---|
Pull |
Initializes a new instance of the PullRequestDiscussionThread class.
|
Properties
Name | Value | Summary |
---|---|---|
Affected |
FilePath |
Gets or sets the path to the file where the message should be posted.
The path needs to be relative to the repository root.
Can be
null if discussion is not related to a change in a file.
|
CommentIdentifier | string |
Gets or sets the value to identify the comment across multiple runs.
|
Comments | IList |
Gets all the comments of this thread.
|
CommentSource | string |
Gets or sets a value used to decorate comments created by this add-in.
|
Id | int |
Gets or sets the ID of the discussion thread.
|
ProviderType | string |
Gets or sets the provider type which reported the issue.
This value is used to identify the comment in subsequent runs.
|
Resolution | Pull |
|
Status | Pull |
Gets or sets if the thread is active or already fixed.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|