// Constructor. internal BaseVsaEngine(String language, String version, bool supportDebug) { applicationPath = String.Empty; assemblyVersion = version; compiledRootNamespace = null; engineMoniker = String.Empty; engineName = String.Empty; engineSite = null; errorLocale = CultureInfo.CurrentCulture.LCID; executionEvidence = null; failedCompilation = false; genDebugInfo = false; haveCompiledState = false; isClosed = false; isDebugInfoSupported = supportDebug; isEngineCompiled = false; isEngineDirty = false; isEngineInitialized = false; isEngineRunning = false; loadedAssembly = null; rootNamespace = String.Empty; scriptLanguage = language; startupClass = null; startupInstance = null; vsaItems = null; }
public BaseVsaEngine(string language, string version, bool supportDebug) { this.language = language; // FIXME: I think we must ensure that version it's // compliant with versionformat Major.Minor.Build.Revision. // Not sure about what Exception throw. this.version = version; this.supportDebug = supportDebug; this.site = null; this.rootMoniker = ""; this.running = false; this.evidence = null; this.compiled = false; this.dirty = false; this.lcid = Thread.CurrentThread.CurrentCulture.LCID; this.name = ""; this.rootNamespace = ""; this.namespaceNotSet = true; this.initNewCalled = false; this.generateDebugInfo = false; this.closed = false; this.items = null; this.siteAlreadySet = false; }
// === Constructor === public BaseVsaEngine(string language, string version, bool supportDebug) { // Set default property values and initial state this.applicationPath = ""; this.compiledRootNamespace = null; this.genDebugInfo = false; this.haveCompiledState = false; this.failedCompilation = false; this.isClosed = false; this.isEngineCompiled = false; this.isEngineDirty = false; this.isEngineInitialized = false; this.isEngineRunning = false; this.vsaItems = null; this.engineSite = null; this.errorLocale = CultureInfo.CurrentCulture.LCID; this.engineName = ""; this.rootNamespace = ""; this.engineMoniker = ""; // Set implementation-dependent values this.scriptLanguage = language; this.assemblyVersion = version; this.isDebugInfoSupported = supportDebug; this.executionEvidence = null; }
// === Constructor === public BaseVsaEngine(string language, string version, bool supportDebug){ // Set default property values and initial state this.applicationPath = ""; this.compiledRootNamespace = null; this.genDebugInfo = false; this.haveCompiledState = false; this.failedCompilation = false; this.isClosed = false; this.isEngineCompiled = false; this.isEngineDirty = false; this.isEngineInitialized = false; this.isEngineRunning = false; this.vsaItems = null; this.engineSite = null; this.errorLocale = CultureInfo.CurrentCulture.LCID; this.engineName = ""; this.rootNamespace = ""; this.engineMoniker = ""; // Set implementation-dependent values this.scriptLanguage = language; this.assemblyVersion = version; this.isDebugInfoSupported = supportDebug; this.executionEvidence = null; }
// Initialize a VSA engine in a non-VSA mode manually. // Use "CreateEngine" instead of this. public void InitVsaEngine(String rootMoniker, IVsaSite site) { rootNamespace = "JScript.DefaultNamespace"; engineMoniker = rootMoniker; engineSite = site; isEngineDirty = true; isEngineCompiled = false; isEngineInitialized = true; }
public void InitVsaEngine(string moniker, IVsaSite site) { RootMoniker = moniker; Site = site; InitNewCalled = true; RootNamespace = "JScript.DefaultNamespace"; IsDirty = true; compiled = false; }
public void Close() { site = null; Reset(); }
public void SetSite(IVsaSite site){ this.site = site; }
public void InitVsaEngine (string moniker, IVsaSite site) { RootMoniker = moniker; Site = site; InitNewCalled = true; RootNamespace = "JScript.DefaultNamespace"; IsDirty = true; compiled = false; }
public void SetSite(IVsaSite site) { this.site = site; }
public void SetSite(IVsaSite site) { throw new NotImplementedException(); }
// Methods public void SetSite(IVsaSite site) { }
// Constructor. public CodeBase(String name, IVsaItem item) { this.name = name; this.item = item; this.site = null; }
public CodeBase(String name, IVsaItem item, IVsaSite site) { this.name = name; this.item = item; this.site = site; }
// Methods public void SetSite(IVsaSite site) {}
public BaseVsaEngine (string language, string version, bool supportDebug) { this.language = language; // FIXME: I think we must ensure that version it's // compliant with versionformat Major.Minor.Build.Revision. // Not sure about what Exception throw. this.version = version; this.supportDebug = supportDebug; this.site = null; this.rootMoniker = ""; this.running = false; this.evidence = null; this.compiled = false; this.dirty = false; this.lcid = Thread.CurrentThread.CurrentCulture.LCID; this.name = ""; this.rootNamespace = ""; this.namespaceNotSet = true; this.initNewCalled = false; this.generateDebugInfo = false; this.closed = false; this.items = null; this.siteAlreadySet = false; }
public void SetSite (IVsaSite site) { throw new NotImplementedException (); }
// Use this method to initialize the engine for non-VSA use. This includes JSC, JSTest, and the JSEE. public void InitVsaEngine(string rootMoniker, IVsaSite site){ this.genStartupClass = false; this.engineMoniker = rootMoniker; this.engineSite = site; this.isEngineInitialized = true; this.rootNamespace = "JScript.DefaultNamespace"; this.isEngineDirty = true; this.isEngineCompiled = false; }