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
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 |
Capability to read, resolve and reopen discussion threads. |
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 |
---|---|---|
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 IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp 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
|