ParameterKind Class

Summary

Specifies the parameter kind.
Assembly
Cake.MsDeploy.dll
Namespace
Cake.MsDeploy.Parameters
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["ParameterKind"] class Type type-node

Syntax

public sealed class ParameterKind : Enum

Fields

Name Constant Value Summary
DeploymentObjectAttribute 0
Used in DeclareParameter, Makes any specified attribute into a parameter Used in SetParameter, Changes value of object attribute
static
DestinationBinding 1
Used in DeclareParameter, assigns a parameter to the source Used in SetParameter, new value can used to assign to the source
static
DestinationVirtualDirectory 2
Used in DeclareParameter, physical path of a source virtual directory Used in SetParameter, sets physical path
static
ProviderPath 3
Parameterize a provider path so that it can be changed during a synchronization operation
static
TextFile 4
Specifies a string or strings to be replaced in a text file.
static
value__
XmlFile 5
Replaces content in any XML file.
static

Extension Methods

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