Esempio n. 1
0
 static StackObject *AssignFromStack_config_0(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
 {
     ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
     JEngine.Net.JSocketConfig @config = (JEngine.Net.JSocketConfig) typeof(JEngine.Net.JSocketConfig).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
     ((JEngine.Net.SocketIOComponent)o).config = @config;
     return(ptr_of_this_method);
 }
Esempio n. 2
0
        static StackObject *Init_15(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 4);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Action <System.Object, WebSocketSharp.MessageEventArgs> @onMessage = (System.Action <System.Object, WebSocketSharp.MessageEventArgs>) typeof(System.Action <System.Object, WebSocketSharp.MessageEventArgs>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 8);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            JEngine.Net.JSocketConfig @config = (JEngine.Net.JSocketConfig) typeof(JEngine.Net.JSocketConfig).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            System.String @url = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            JEngine.Net.SocketIOComponent instance_of_this_method = (JEngine.Net.SocketIOComponent) typeof(JEngine.Net.SocketIOComponent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Init(@url, @config, @onMessage);

            return(__ret);
        }