MethodAliasGenerator Class

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(MethodInfo, string) 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(MethodInfo) 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<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