示例#1
0
        protected SubscriptionChange(SubscriptionInformation subscription)
        {
            Subscription = subscription;

            if (Subscription.SubscriptionId == Guid.Empty)
            {
                Subscription.SubscriptionId = NewIds.NewId.NextGuid();
            }
        }
示例#2
0
 public RemoveSubscription(SubscriptionInformation subscription, long sequenceNumber)
     : base(subscription)
 {
     Subscription.SequenceNumber = sequenceNumber;
 }
示例#3
0
 public RemoveSubscription(SubscriptionInformation subscription)
     : base(subscription)
 {
 }
示例#4
0
 public AddSubscription(SubscriptionInformation subscription)
     : base(subscription)
 {
 }