OSTarget Class

Summary

A list of supported protoc executables.
Assembly
Cake.ProtobufTools.dll
Namespace
Cake.ProtobufTools
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["OSTarget"] class Type type-node

Syntax

public sealed class OSTarget : Enum

Fields

Name Constant Value Summary
Google 0
Google
static
Linux64 2
Linux x64
static
Linux86 1
Linux x86
static
MacOSX64 4
MacOS X x64
static
MacOSX86 3
MacOS X x86
static
value__
Windows64 6
Windows x64
static
Windows86 5
Windows x86
static

Extension Methods

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