示例#1
0
 public NetPropertyInfo(NetTypeInfo parentType,
                        string name,
                        NetTypeInfo returnType,
                        bool canRead,
                        bool canWrite,
                        NetSignalInfo notifySignal)
     : this(Create(parentType,
                   name,
                   returnType,
                   canRead,
                   canWrite,
                   notifySignal))
 {
 }
示例#2
0
 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));
 }