Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 /// <param name="success"></param>
 /// <param name="result"></param>
 /// <param name="message"></param>
 public PackageCompletionResult(Guid clientId, PackageHeader header, bool success, int result, string message)
     : base(clientId, header)
 {
     Success = success;
     Result  = result;
     Message = message;
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 /// <param name="subscriptionId"></param>
 /// <param name="items"></param>
 /// <param name="excludeDataBody"></param>
 public PackageNotifyMultipleItems(Guid clientId, PackageHeader header, Guid subscriptionId, IEnumerable <CommonItem> items, bool excludeDataBody)
     : base(clientId, header)
 {
     SubscriptionId = subscriptionId;
     _Items.AddRange(items);
     ExcludeDataBody = excludeDataBody;
 }
Exemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 /// <param name="subscriptionId"></param>
 public PackageCancelSubscription(Guid clientId, PackageHeader header, Guid subscriptionId)
     : base(clientId, header)
 {
     SubscriptionId = subscriptionId;
 }
Exemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 /// <param name="subscriptionId"></param>
 /// <param name="expiryTime"></param>
 public PackageExtendSubscription(Guid clientId, PackageHeader header, Guid subscriptionId, DateTimeOffset expiryTime)
     : base(clientId, header)
 {
     SubscriptionId = subscriptionId;
     ExpiryTime     = expiryTime;
 }
Exemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 /// <param name="query"></param>
 /// <param name="expiryTime"></param>
 public PackageCreateSubscription(Guid clientId, PackageHeader header, PackageSubscriptionQuery query, DateTimeOffset expiryTime)
     : base(clientId, header)
 {
     Query      = query;
     ExpiryTime = expiryTime;
 }
Exemplo n.º 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 /// <param name="query"></param>
 public PackageSelectMultipleItems(Guid clientId, PackageHeader header, PackageSelectItemsQuery query)
     : base(clientId, header)
 {
     Query = query;
 }
Exemplo n.º 7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 /// <param name="items"></param>
 /// <param name="excludeDataBody"></param>
 public PackageAnswerMultipleItems(Guid clientId, PackageHeader header, IEnumerable <CommonItem> items, bool excludeDataBody)
     : base(clientId, header)
 {
     _Items.AddRange(items);
     ExcludeDataBody = excludeDataBody;
 }
Exemplo n.º 8
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientId"></param>
 /// <param name="header"></param>
 public PackageBase(Guid clientId, PackageHeader header)
 {
     ClientId = clientId;
     Header   = header;
 }