EnumBaseType Class

Summary

Base type for enum like arguments of Settings.
Assembly
Cake.SPCAF.dll
Namespace
Cake.SPCAF.Enums
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["EnumBaseType"] class Type type-node Derived0["Report"]-->Type click Derived0 "/api/Cake.SPCAF.Enums/Report" Derived1["Verbosity"]-->Type click Derived1 "/api/Cake.SPCAF.Enums/Verbosity"

Syntax

public class EnumBaseType

Constructors

Name Summary
EnumBaseType(string) Initializes a new instance of the EnumBaseType class.

Methods

Name Value Summary
ToString() string

Extension Methods

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