LanguageOptions record
Base options for specifying script code and language settings.
public record LanguageOptions
Public Members
| name | description |
|---|---|
| LanguageOptions() | The default constructor. |
| Arguments { get; set; } | Additional metadata for the route, represented as key-value pairs. |
| Code { get; set; } | The script code to execute for this route. |
| ExtraImports { get; set; } | Additional import namespaces required for the script code. |
| ExtraRefs { get; set; } | Additional assembly references required for the script code. |
| Language { get; set; } | The scripting language used for the route’s code. |
| LanguageVersion { get; set; } | Version of the C# language to use when Language is CSharp. |
| ScriptBlock { get; set; } | The script block created from the Code property, or null if no code is set. |
See Also
- namespace Kestrun.Hosting.Options