protected SubscriptionChange(SubscriptionInformation subscription)
        {
            Subscription = subscription;

            if (Subscription.SubscriptionId == Guid.Empty)
            {
                Subscription.SubscriptionId = NewId.NextGuid();
            }
        }
示例#2
0
        protected SubscriptionChange(SubscriptionInformation subscription)
        {
            Subscription = subscription;

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