BaseDiscussionThreadsCapability<T> Class

Summary

Capability to read, resolve and reopen discussion threads.
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
BaseDiscussionThreadsCapability(ICakeLog, T) Initializes a new instance of the BaseDiscussionThreadsCapability<T> class.

Methods

Name Value Summary
FetchDiscussionThreads(string) IEnumerable<IPullRequestDiscussionThread>
Returns a list of all discussion threads.
InternalFetchDiscussionThreads(string) IEnumerable<IPullRequestDiscussionThread>
Returns a list of all discussion threads. Compared to FetchDiscussionThreads(string) it is safe to access Settings from this method.
InternalReopenDiscussionThreads(IEnumerable<IPullRequestDiscussionThread>) 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.
InternalResolveDiscussionThreads(IEnumerable<IPullRequestDiscussionThread>) 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.
ReopenDiscussionThreads(IEnumerable<IPullRequestDiscussionThread>) void
Marks a list of discussion threads as active.
ResolveDiscussionThreads(IEnumerable<IPullRequestDiscussionThread>) void
Marks a list of discussion threads as resolved.

Extension Methods

Name Value Summary
NotNull<BaseDiscussionThreadsCapability<T>>(string) void
Throws an exception if the specified parameter's value is null.
GitHub