Summary
Returns the alias of the specified `script` if it has an
Weaver.Editor.Procedural.ScriptGenerator.AliasAttribute
, otherwise
the full name of its generator method is used.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural - Containing Type
- ScriptGenerator
.AliasAttribute
Syntax
public static string GetAlias(MethodInfo generatorMethod)
Parameters
Name | Type | Description |
---|---|---|
generatorMethod | MethodInfo |
Return Value
Type | Description |
---|---|
string |