コード例 #1
0
        public bool Test()
        {
            MulticastDelegate d = new PreprocessedGenericType <T1, T2, T3> .Test__DistributedDelegate1(this.Test__Distributed0);

            object[] args = new object[0];
            return((bool)DpmEntrypoint.Invoke(d, args));
        }
コード例 #2
0
        public T1 Return(T1 val)
        {
            MulticastDelegate d = new PreprocessedGenericType <T1, T2, T3> .Return__DistributedDelegate3(this.Return__Distributed0);

            return((T1)((object)DpmEntrypoint.Invoke(d, new object[]
            {
                val
            })));
        }
コード例 #3
0
 public object Invoke(MethodInfo method, object instance, object[] parameters)
 {
     PreprocessedGenericType <T1, T2, T3> .Return__DistributedDelegate3 return__DistributedDelegate = (PreprocessedGenericType <T1, T2, T3> .Return__DistributedDelegate3)Delegate.CreateDelegate(typeof(PreprocessedGenericType <T1, T2, T3> .Return__DistributedDelegate3), instance, method);
     return(return__DistributedDelegate((T1)((object)parameters[0])));
 }
コード例 #4
0
 public object Invoke(MethodInfo method, object instance, object[] parameters)
 {
     PreprocessedGenericType <T1, T2, T3> .Test__DistributedDelegate1 test__DistributedDelegate = (PreprocessedGenericType <T1, T2, T3> .Test__DistributedDelegate1)Delegate.CreateDelegate(typeof(PreprocessedGenericType <T1, T2, T3> .Test__DistributedDelegate1), instance, method);
     return(test__DistributedDelegate());
 }