示例#1
0
        public Object GetDelegate(Type DelegateType, IntPtr Instance)
        {
            IntPtr F = ReadVTableSlot(NativeClass.GetVTable(Instance, this.VTableOffset), this.MethodIndex);

            return(Marshal.GetDelegateForFunctionPointer(F, DelegateType));
        }
示例#2
0
 public NativeTypeInfo GetTypeInfo() => NativeClass.GetTypeInfo(this.InstancePointer);