public SimpleEvaluationDomainProvider() { if (!this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$) { this._domain = new EvaluationDomain(); this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$ = true; } }
public SimpleEvaluationDomainProvider() { if (!this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$) { this._domain = new EvaluationDomain(); this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$ = true; } }
public void CacheScript(EvaluationScriptCacheKey key, Type type) { EvaluationDomain domain = this; lock (domain) { this._cache[key] = type; } }
public SimpleEvaluationDomainProvider(params string[] imports) { if (!this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$) { this._domain = new EvaluationDomain(); this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$ = true; } this._imports = imports; }
public SimpleEvaluationDomainProvider(params string[] imports) { if (!this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$) { this._domain = new EvaluationDomain(); this.$initialized__UnityScript_Scripting_SimpleEvaluationDomainProvider$ = true; } this._imports = imports; }
private EvaluationDomain GetEvaluationDomain() { EvaluationDomain evaluationDomain = this._context.ScriptContainer.GetEvaluationDomain(); if (evaluationDomain == null) { throw new AssertionFailedException("domain is not null"); } return(evaluationDomain); }
public Type GetCachedScript(EvaluationScriptCacheKey key) { EvaluationDomain domain = this; lock (domain) { object obj1 = this._cache[key]; if (!(obj1 is Type)) { } return((Type)RuntimeServices.Coerce(obj1, typeof(Type))); } }