CakeMethodAliasAttribute Class

Summary

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

Syntax

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

Attributes

Type Description
AttributeUsageAttribute

Extension Methods

Name Value Summary
Dump<CakeMethodAliasAttribute>() string
Get a basic string representation of specified object.
IsIn<CakeMethodAliasAttribute>(CakeMethodAliasAttribute[]) bool
Checks if the source is contained in a list
NotNull<CakeMethodAliasAttribute>(string) void
Throws an exception if the specified parameter's value is null.
NotNull<CakeMethodAliasAttribute>(string) void
Throws an exception if the specified parameter's value is null.
ThrowIfNull<CakeMethodAliasAttribute>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
ThrowIfNull<CakeMethodAliasAttribute>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value