PlatformFamily Enum

Summary

Represents a platform family.
Namespace
Cake.Core
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["PlatformFamily"] class Type type-node

Syntax

public enum PlatformFamily

Fields

Name Constant Value Summary
Linux 2
Represents the Linux platform family.
static
OSX 3
Represents the OSX platform family.
static
Unknown 0
The platform family is unknown.
static
Windows 1
Represents the Windows platform family.
static

Extension Methods

Name Value Summary
Dump<PlatformFamily>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PlatformFamily>(PlatformFamily[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<PlatformFamily>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<PlatformFamily>(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