public PeerSubscriptionsForTypesUpdated(PeerId peerId, SubscriptionsForType[] subscriptionsForType, DateTime timestampUtc) { PeerId = peerId; SubscriptionsForType = subscriptionsForType; TimestampUtc = timestampUtc; }
public PeerSubscriptionsForTypesUpdated(PeerId peerId, DateTime timestampUtc, MessageTypeId messageTypeId, params BindingKey[] bindingKeys) { PeerId = peerId; SubscriptionsForType = new[] { new SubscriptionsForType(messageTypeId, bindingKeys) }; TimestampUtc = timestampUtc; }