Summary
Generates code from the specified script.
- Namespace
- Cake
.Infrastructure .Scripting - Containing Type
- RoslynCodeGenerator
Syntax
public string Generate(Script script)
Parameters
| Name | Type | Description |
|---|---|---|
| script | Script | The script to generate code from. |
Return Value
| Type | Description |
|---|---|
| string | The generated code. |
