Exemplo n.º 1
0
        public Object GetDelegate(Type DelegateType, IntPtr Instance)
        {
            IntPtr F = ReadVTableSlot(NativeClass.GetVTable(Instance, this.VTableOffset), this.MethodIndex);

            return(Marshal.GetDelegateForFunctionPointer(F, DelegateType));
        }
Exemplo n.º 2
0
 public NativeTypeInfo GetTypeInfo() => NativeClass.GetTypeInfo(this.InstancePointer);