Property AssemblyKind
AssemblyKind
Gets or sets output kind for the script assembly.
public ScriptAssemblyKind AssemblyKind { get; set; }
Property Value
Examples
Here is how to use a AssemblyKind in the C# code:
using Alternet.Scripter;
public partial class Form1 : Form
{
private void Form1_Load(object sender, EventArgs e)
{
var scriptRun = new ScriptRun();
scriptRun.AssemblyKind = ScriptAssemblyKind.DynamicLibrary;
}
}
Here is how to use a AssemblyKind in the Visual Basic code:
Imports Alternet.Scripter
Partial Public Class Form1
Inherits Form
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
var scriptRun = New ScriptRun()
scriptRun.AssemblyKind = ScriptAssemblyKind.DynamicLibrary
End Sub
End Class
Remarks
Set AssemblyKind to specify the script to be compiled as a dynamic link library, windows or console application.