PropertyAliasGenerator.

Generate(MethodInfo) Method

Summary

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.

Syntax

public static string Generate(MethodInfo method)

Parameters

Name Type Description
method MethodInfo The method to generate the code for.

Return Value

Type Description
string The generated code.