示例#1
0
 internal void AssertValid()
 {
     if (BindingKey.IsEmpty() || QueueName.IsEmpty() || ExchangeName.IsEmpty())
     {
         throw new InvalidOperationException($"{nameof(BindingKey)} properties {nameof(BindingKey)}, {nameof(QueueName)}, and {nameof(ExchangeName)} are all required for this operation");
     }
 }