public AccessContainerEntryNative ToNative() { return(new AccessContainerEntryNative() { ContainersPtr = BindingUtils.CopyFromObjectList(Containers), ContainersLen = (UIntPtr)(Containers?.Count ?? 0), ContainersCap = UIntPtr.Zero }); }
public RegisteredAppNative ToNative() { return(new RegisteredAppNative() { AppInfo = AppInfo, ContainersPtr = BindingUtils.CopyFromObjectList(Containers), ContainersLen = (UIntPtr)(Containers?.Count ?? 0), ContainersCap = IntPtr.Zero }); }
public ShareMDataReqNative ToNative() { return(new ShareMDataReqNative() { App = App, MDataPtr = BindingUtils.CopyFromObjectList(MData), MDataLen = (UIntPtr)(MData?.Count ?? 0), MDataCap = UIntPtr.Zero }); }
public ContainersReqNative ToNative() { return(new ContainersReqNative() { App = App, ContainersPtr = BindingUtils.CopyFromObjectList(Containers), ContainersLen = (UIntPtr)(Containers?.Count ?? 0), ContainersCap = UIntPtr.Zero }); }