PropertyAliasGenerator Class

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(MethodInfo, string) 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(MethodInfo) 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<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin