Rhino.ScriptRuntime.GetLibraryScopeOrNull C# (CSharp) Method

GetLibraryScopeOrNull() public static method

public static GetLibraryScopeOrNull ( Scriptable scope ) : ScriptableObject
scope Scriptable
return ScriptableObject
		public static ScriptableObject GetLibraryScopeOrNull(Scriptable scope)
		{
			ScriptableObject libScope;
			libScope = (ScriptableObject)ScriptableObject.GetTopScopeValue(scope, LIBRARY_SCOPE_KEY);
			return libScope;
		}
ScriptRuntime