Rhino.ScriptRuntime.StoreScriptable C# (CSharp) Method

StoreScriptable() private static method

private static StoreScriptable ( Context cx, Scriptable value ) : void
cx Context
value Scriptable
return void
		private static void StoreScriptable(Context cx, Scriptable value)
		{
			// The previously stored scratchScriptable should be consumed
			if (cx.scratchScriptable != null)
			{
				throw new InvalidOperationException();
			}
			cx.scratchScriptable = value;
		}
ScriptRuntime