public VlsState(VlsHost host) { if (VlScriptHeader.VlsCreateState(host.host, out this.state) == VlScriptHeader.VLS_ERR) { host.RaiseException(); } else { this.host = host; } }
public VlsAssembly(VlsHost host, string fileName) { if (VlScriptHeader.VlsCreateAssemblyFromFile(host.host, fileName, out this.assembly) == VlScriptHeader.VLS_ERR) { host.RaiseException(); } else { this.host = host; this.BasicFunctions = new VlsBasicFunctionList(this); } }