GitHubSetMilestoneSettings Class

Summary

Settings for setting an Issue's or Pull Request's Milestone.
Assembly
Cake.GitHub.dll
Namespace
Cake.GitHub
Base Types
graph BT Type-->Base0["GitHubSettingsBase"] click Base0 "/api/Cake.GitHub/GitHubSettingsBase" Base0-->Base1["Object"] Type["GitHubSetMilestoneSettings"] class Type type-node

Syntax

public class GitHubSetMilestoneSettings : GitHubSettingsBase

Constructors

Properties

Name Value Summary
CreateMilestone bool
Gets or sets whether to create a new Milestone if the specified Milestone does not exist.
Overwrite bool
Gets or sets whether to replace a Issue's or Pull Request's milestone if it is already set.

Extension Methods

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