コード例 #1
0
 internal static void CopyOut(IntPtr from, ref PartitionQosPolicy to)
 {
     if (to == null)
     {
         to = new PartitionQosPolicy();
     }
     SequenceStringMarshaler.CopyOut(from, ref to.Name);
 }
コード例 #2
0
 internal static void CopyOut(v_userKeyPolicyI_s from, ref SubscriptionKeyQosPolicy to)
 {
     if (to == null)
     {
         to = new SubscriptionKeyQosPolicy();
     }
     to.UseKeyList = from.v.enable;
     SequenceStringMarshaler.CopyOut(from.v.expression, ref to.KeyList);
 }