EnumBaseType Class

Summary

Base class for enum style type settings.
Assembly
Cake.Pandoc.dll
Namespace
Cake.Pandoc.Enums
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["EnumBaseType"] class Type type-node Derived0["To"]-->Type click Derived0 "/api/Cake.Pandoc.Enums/To" Derived1["From"]-->Type click Derived1 "/api/Cake.Pandoc.Enums/From" Derived2["EndOfLine"]-->Type click Derived2 "/api/Cake.Pandoc.Enums/EndOfLine"

Syntax

public class EnumBaseType

Constructors

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

Methods

Name Value Summary
ToString() string
Converts to 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.Issues addin
NotNull<EnumBaseType>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp 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