public NetMethodInfo(NetTypeInfo parentTypeInfo, string methodName, NetTypeInfo returnTypeInfo, bool isStatic) : this(Create(parentTypeInfo, methodName, returnTypeInfo, isStatic)) { }
private static IntPtr Create(NetTypeInfo parentTypeInfo, string methodName, NetTypeInfo returnTypeInfo) { return(Interop.NetMethodInfo.Create(parentTypeInfo?.Handle ?? IntPtr.Zero, methodName, returnTypeInfo?.Handle ?? IntPtr.Zero)); }
private static IntPtr Create( NetTypeInfo parentTypeInfo, string methodName, NetTypeInfo returnTypeInfo, bool isStatic) { return(Interop.NetMethodInfo.Create( parentTypeInfo?.Handle ?? IntPtr.Zero, methodName, returnTypeInfo?.Handle ?? IntPtr.Zero, isStatic ? (byte)1 : (byte)0)); }
public NetPropertyInfo(NetTypeInfo parentType, string name, NetTypeInfo returnType, bool canRead, bool canWrite, NetSignalInfo notifySignal) : this(Create(parentType, name, returnType, canRead, canWrite, notifySignal)) { }
private static IntPtr Create(NetTypeInfo parentType, string name, NetTypeInfo returnType, bool canRead, bool canWrite, NetSignalInfo notifySignal) { return(Interop.NetPropertyInfo.Create(parentType?.Handle ?? IntPtr.Zero, name, returnType?.Handle ?? IntPtr.Zero, canRead, canWrite, notifySignal?.Handle ?? IntPtr.Zero)); }
public void AddParameter(string name, NetTypeInfo type) { Interop.NetMethodInfo.AddParameter(Handle, name, type.Handle); }
public NetSignalInfo(NetTypeInfo parentType, string name) : this(Interop.NetSignalInfo.Create(parentType.Handle, name)) { }
private NetReference(UInt64 objectId, NetTypeInfo type, bool ownsHandle = true) : base(Interop.NetReference.Create(objectId, type.Handle), ownsHandle) { }
public void AddIndexParameter(string name, NetTypeInfo type) { Interop.NetPropertyInfo.AddIndexParameter(Handle, name, type.Handle); }
public NetMethodInfo(NetTypeInfo parentTypeInfo, string methodName, NetTypeInfo returnTypeInfo) : this(Create(parentTypeInfo, methodName, returnTypeInfo)) { }