public InitializeRule(IBusManagementClient client, string topicPath, string subscriptionName, string name, Filter filter, bool deleteDefault = true) { if (null == client) { throw new ArgumentNullException("client"); } if (string.IsNullOrEmpty(topicPath)) { throw new ArgumentException("topicPath"); } if (string.IsNullOrEmpty(subscriptionName)) { throw new ArgumentException("subscriptionName"); } if (string.IsNullOrEmpty(name)) { throw new ArgumentException("name"); } if (null == filter) { throw new ArgumentNullException("filter"); } this.client = client; this.topicPath = topicPath; this.subscriptionName = subscriptionName; this.name = name; this.filter = filter; this.deleteDefault = deleteDefault; }
public InitializeQueue(IBusManagementClient client, string name) { if (null == client) { throw new ArgumentNullException("client"); } if (string.IsNullOrEmpty(name)) { throw new ArgumentException("name"); } this.client = client; this.name = name; }
public InitializeSubscription(IBusManagementClient client, string topicPath, string subscriptionName) { if (null == client) { throw new ArgumentNullException("client"); } if (string.IsNullOrEmpty(topicPath)) { throw new ArgumentException("topicPath"); } if (string.IsNullOrEmpty(subscriptionName)) { throw new ArgumentException("subscriptionName"); } this.client = client; this.topicPath = topicPath; this.subscriptionName = subscriptionName; }