Mono.Debugger.Frontend.ScriptingContext.CheckTypeProxy C# (CSharp) Method

CheckTypeProxy() public static method

public static CheckTypeProxy ( Interpreter interpreter, Thread thread, TargetStructObject obj ) : TargetClassObject
interpreter Interpreter
thread Thread
obj Mono.Debugger.Languages.TargetStructObject
return Mono.Debugger.Languages.TargetClassObject
        public static TargetClassObject CheckTypeProxy(Interpreter interpreter, Thread thread,
								TargetStructObject obj)
        {
            if (obj.Type.DebuggerTypeProxyAttribute == null)
                return null;

            ScriptingContext expr_context = new ScriptingContext (interpreter);
            expr_context.CurrentThread = thread;
            expr_context.CurrentLanguage = obj.Type.Language;
            expr_context.ImplicitInstance = obj;

            return expr_context.CheckTypeProxy (obj);
        }

Same methods

ScriptingContext::CheckTypeProxy ( TargetStructObject obj ) : TargetClassObject

Usage Example

Exemplo n.º 1
0
        public static TargetClassObject CheckTypeProxy(Interpreter interpreter, Thread thread,
                                                       TargetStructObject obj)
        {
            if (obj.Type.DebuggerTypeProxyAttribute == null)
            {
                return(null);
            }

            ScriptingContext expr_context = new ScriptingContext(interpreter);

            expr_context.CurrentThread    = thread;
            expr_context.CurrentLanguage  = obj.Type.Language;
            expr_context.ImplicitInstance = obj;

            return(expr_context.CheckTypeProxy(obj));
        }
All Usage Examples Of Mono.Debugger.Frontend.ScriptingContext::CheckTypeProxy