CakeMethodAliasAttribute Class

Summary

An attribute used to mark script method aliases.
Namespace
Cake.Core.Annotations
Base Types
graph BT Type-->Base0["CakeAliasAttribute"] click Base0 "/api/Cake.Core.Annotations/CakeAliasAttribute" Base0-->Base1["Attribute"] Base1-->Base2["object"] Type["CakeMethodAliasAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class CakeMethodAliasAttribute : CakeAliasAttribute

Attributes

Type Description
AttributeUsageAttribute

Extension Methods

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