BasePullRequestSystemCapability<T> Class

Summary

Base class for all optional pull request system capabilities.
graph BT Type-->Base0["Object"] Type-.->Interface0["IPullRequestSystemCapability"] click Interface0 "/api/Cake.Issues.PullRequests/IPullRequestSystemCapability" Type["BasePullRequestSystemCapability<T>"] class Type type-node Derived0["BaseDiscussionThreadsCapability<T>"]-->Type click Derived0 "/api/Cake.Issues.PullRequests/BaseDiscussionThreadsCapability_1" Derived1["BaseFilteringByModifiedFilesCapability<T>"]-->Type click Derived1 "/api/Cake.Issues.PullRequests/BaseFilteringByModifiedFilesCapability_1" Derived2["BaseCheckingCommitIdCapability<T>"]-->Type click Derived2 "/api/Cake.Issues.PullRequests/BaseCheckingCommitIdCapability_1"

Syntax

public abstract class BasePullRequestSystemCapability<T> : IPullRequestSystemCapability 
    where T : class, IPullRequestSystem

Type Parameters

Name Description
T Type of the pull request system.

Constructors

Name Summary
BasePullRequestSystemCapability(ICakeLog, T) Initializes a new instance of the BasePullRequestSystemCapability<T> class.

Properties

Name Value Summary
Log ICakeLog
Gets the Cake log context.
PullRequestSystem T
Gets the pull request system to which the capability belongs.

Extension Methods

Name Value Summary
Dump<BasePullRequestSystemCapability<T>>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BasePullRequestSystemCapability<T>>(BasePullRequestSystemCapability<T>[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BasePullRequestSystemCapability<T>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BasePullRequestSystemCapability<T>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<BasePullRequestSystemCapability<T>>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<BasePullRequestSystemCapability<T>>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin