Rhino.Context.GetContext C# (CSharp) Method

GetContext() static private method

Internal method that reports an error for missing calls to enter().
Internal method that reports an error for missing calls to enter().
static private GetContext ( ) : Context
return Context
		internal static Context GetContext()
		{
			Context cx = GetCurrentContext();
			if (cx == null)
			{
				throw new Exception("No Context associated with current Thread");
			}
			return cx;
		}
Context