Beispiel #1
0
 /// <summary>
 /// Adds a rule governing to which endpoints messages will be sent
 /// </summary>
 /// <param name="sendRule">The send rule</param>
 public virtual void AddSendRule(ISendRule sendRule)
 {
     if (sendRule == null)
     {
         throw new ArgumentNullException(nameof(sendRule));
     }
     _sendRules.Add(sendRule);
 }
 /// <summary>
 /// Adds a rule governing to which endpoints messages will be sent
 /// </summary>
 /// <param name="sendRule">The send rule</param>
 public void AddSendRule(ISendRule sendRule)
 {
     if (sendRule == null) throw new ArgumentNullException("sendRule");
     _sendRules.Add(sendRule);
 }