Summary
Responsible for generating script method aliases.
- Namespace
- Cake
.Core .Scripting .CodeGen - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["MethodAliasGenerator"]
class Type type-node
Syntax
public static class MethodAliasGenerator
Methods
Name | Value | Summary |
---|---|---|
Generate |
string |
Generates a script method alias from the specified method.
The provided method must be an extension method for
ICakeContext
and it must be decorated with the CakeMethodAliasAttribute .
static
|
Generate |
string |
Generates a script method alias from the specified method.
The provided method must be an extension method for
ICakeContext
and it must be decorated with the CakeMethodAliasAttribute .
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|