ScriptAlias Class

Summary

Represents a script alias.
Namespace
Cake.Core.Scripting
Base Types
  • object
graph BT Type-->Base0["object"] Type["ScriptAlias"] class Type type-node

Syntax

public sealed class ScriptAlias

Constructors

Name Summary
ScriptAlias(MethodInfo, ScriptAliasType, ISet<string>) Initializes a new instance of the ScriptAlias class.

Properties

Name Value Summary
Method MethodInfo
Gets the method associated with the alias.
Name string
Gets the name of the alias.
Namespaces IReadOnlyList<string>
Gets all namespaces that the alias need to be imported.
Type ScriptAliasType
Gets the alias type.

Extension Methods

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