ProviderIssueLimits Class

Summary

Defines issue limits for a specific issue provider.
Assembly
Cake.Issues.PullRequests.dll
Namespace
Cake.Issues.PullRequests
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IProviderIssueLimits"] click Interface0 "/api/Cake.Issues.PullRequests/IProviderIssueLimits" Type["ProviderIssueLimits"] class Type type-node

Syntax

public class ProviderIssueLimits : IProviderIssueLimits

Constructors

Properties

Name Value Summary
MaxIssuesToPost Nullable<int>
Gets or sets the number of issues which should be posted at maximum for the specific IIssueProvider. Issues are filtered by Priority and issues with an AffectedFileRelativePath are prioritized. Default is null which won't set a limit. Use MaxIssuesToPostAcrossRuns to set a limit across multiple runs.
MaxIssuesToPostAcrossRuns Nullable<int>
Gets or sets the number of issues which should be posted at maximum for the specific IIssueProvider across multiple runs. Issues are filtered by Priority and issues with an AffectedFileRelativePath are prioritized. Default is null which won't set a limit across multiple runs. Use MaxIssuesToPost to set a limit for a single run.

Extension Methods

Name Value Summary
Dump<ProviderIssueLimits>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ProviderIssueLimits>(ProviderIssueLimits[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ProviderIssueLimits>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ProviderIssueLimits>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ProviderIssueLimits>(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<ProviderIssueLimits>(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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin