public CloudQueuePublisherBusConfiguration(CloudStorageAccount storageAccount, JsonSerializer serializer, Subscription[] subscriptions, ICloudQueueSenderConfiguration senderConfiguration, string overflowBlobContainerName) { if (storageAccount == null) throw new ArgumentNullException("storageAccount"); if (serializer == null) throw new ArgumentNullException("serializer"); if (subscriptions == null) throw new ArgumentNullException("subscriptions"); if (senderConfiguration == null) throw new ArgumentNullException("senderConfiguration"); if (overflowBlobContainerName == null) throw new ArgumentNullException("overflowBlobContainerName"); StorageAccount = storageAccount; Serializer = serializer; Subscriptions = subscriptions; SenderConfiguration = senderConfiguration; OverflowBlobContainerName = overflowBlobContainerName; }
public bool Equals(Subscription other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other._message == _message && Equals(other._queueName, _queueName); }