Summary
Responsible for generating script property aliases.
- Namespace
- Cake
.Core .Scripting .CodeGen - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["PropertyAliasGenerator"]
class Type type-node
Syntax
public static class PropertyAliasGenerator
Methods
Name | Value | Summary |
---|---|---|
Generate |
string |
Generates a script property alias from the specified method.
The provided method must be an extension method for
ICakeContext
and it must be decorated with the CakePropertyAliasAttribute .
static
|
Generate |
string |
Generates a script property alias from the specified method.
The provided method must be an extension method for
ICakeContext
and it must be decorated with the CakePropertyAliasAttribute .
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
|