ScriptLanguageAttribute class
Attribute to specify the script language for a method or delegate.
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate)]
public sealed class ScriptLanguageAttribute : Attribute
| parameter | description |
|---|---|
| lang | The script language to associate with the method or delegate. |
Public Members
| name | description |
|---|---|
| ScriptLanguageAttribute(…) | Attribute to specify the script language for a method or delegate. |
| Language { get; } | Gets the script language associated with this attribute. |
Remarks
Initializes a new instance of the ScriptLanguageAttribute class.
See Also
- namespace Kestrun.Scripting