Summary
Capability to read, resolve and reopen discussion threads.
- Assembly
- Cake
.Issues .PullRequests .dll - Namespace
- Cake
.Issues .PullRequests - Interfaces
- Base Types
-
- Object
- Base
Pull Request System Capability <T>
graph BT
Type-->Base0["BasePullRequestSystemCapability<T>"]
Base0-->Base1["Object"]
Type-.->Interface0["ISupportDiscussionThreads"]
click Interface0 "/api/Cake.Issues.PullRequests/ISupportDiscussionThreads"
Type-.->Interface1["IPullRequestSystemCapability"]
click Interface1 "/api/Cake.Issues.PullRequests/IPullRequestSystemCapability"
Type["BaseDiscussionThreadsCapability<T>"]
class Type type-node
Syntax
public abstract class BaseDiscussionThreadsCapability<T> : BasePullRequestSystemCapability<T>,
ISupportDiscussionThreads, IPullRequestSystemCapability
where T : class, IPullRequestSystem
Type Parameters
Name | Description |
---|---|
T | Type of the pull request system to which this capability belongs. |
Constructors
Name | Summary |
---|---|
Base |
Initializes a new instance of the BaseDiscussionThreadsCapability<T> class.
|
Methods
Name | Value | Summary |
---|---|---|
Fetch |
IEnumerable |
Returns a list of all discussion threads.
|
Internal |
IEnumerable |
Returns a list of all discussion threads.
Compared to
FetchDiscussionThreads(string) it is safe to access Settings from this method.
|
Internal |
void |
Marks a list of discussion threads as active.
Compared to
Cake.Issues.PullRequests.BaseDiscussionThreadsCapability`1.ReopenDiscussionThreads(System.Collections.Generic.IEnumerable{Cake.Issues.PullRequests.IPullRequestDiscussionThread}) it is safe to access Settings from this method.
|
Internal |
void |
Marks a list of discussion threads as resolved.
Compared to
Cake.Issues.PullRequests.BaseDiscussionThreadsCapability`1.ResolveDiscussionThreads(System.Collections.Generic.IEnumerable{Cake.Issues.PullRequests.IPullRequestDiscussionThread}) it is safe to access Settings from this method.
|
Reopen |
void |
Marks a list of discussion threads as active.
|
Resolve |
void |
Marks a list of discussion threads as resolved.
|
Extension Methods
Name | Value | Summary |
---|---|---|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
|