コード例 #1
0
 public AccessContainerEntryNative ToNative()
 {
     return(new AccessContainerEntryNative()
     {
         ContainersPtr = BindingUtils.CopyFromObjectList(Containers),
         ContainersLen = (UIntPtr)(Containers?.Count ?? 0),
         ContainersCap = UIntPtr.Zero
     });
 }
コード例 #2
0
 public RegisteredAppNative ToNative()
 {
     return(new RegisteredAppNative()
     {
         AppInfo = AppInfo,
         ContainersPtr = BindingUtils.CopyFromObjectList(Containers),
         ContainersLen = (UIntPtr)(Containers?.Count ?? 0),
         ContainersCap = IntPtr.Zero
     });
 }
コード例 #3
0
 public ShareMDataReqNative ToNative()
 {
     return(new ShareMDataReqNative()
     {
         App = App,
         MDataPtr = BindingUtils.CopyFromObjectList(MData),
         MDataLen = (UIntPtr)(MData?.Count ?? 0),
         MDataCap = UIntPtr.Zero
     });
 }
コード例 #4
0
 public ContainersReqNative ToNative()
 {
     return(new ContainersReqNative()
     {
         App = App,
         ContainersPtr = BindingUtils.CopyFromObjectList(Containers),
         ContainersLen = (UIntPtr)(Containers?.Count ?? 0),
         ContainersCap = UIntPtr.Zero
     });
 }