Exemplo n.º 1
0
 /// <summary>
 /// Initialise a new mutable data share request object from native request.
 /// </summary>
 /// <param name="native"></param>
 internal ShareMDataReq(ShareMDataReqNative native)
 {
     App   = native.App;
     MData = BindingUtils.CopyToObjectList <ShareMData>(native.MDataPtr, (int)native.MDataLen);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialise a new container request object from native container request.
 /// </summary>
 /// <param name="native"></param>
 internal ContainersReq(ContainersReqNative native)
 {
     App        = native.App;
     Containers = BindingUtils.CopyToObjectList <ContainerPermissions>(native.ContainersPtr, (int)native.ContainersLen);
 }