Exemple #1
0
        public FluentConfigurationSource WithOutboundMessageFilter(Type messageType, IOutboundMessageFilter filter)
        {
            if (this.OutboundMessageFilters.ContainsKey(messageType))
            {
                this.OutboundMessageFilters[messageType].Add(filter);
            }
            else
            {
                this.OutboundMessageFilters.Add(messageType, new List <IOutboundMessageFilter>(new[] { filter }));
            }

            return(this);
        }
Exemple #2
0
 public FluentConfigurationSource WithOutboundMessageFilter <TMessage>(IOutboundMessageFilter filter)
 {
     this.WithOutboundMessageFilter(typeof(TMessage), filter);
     return(this);
 }
Exemple #3
0
 public FluentConfigurationSource WithGlobalOutboundMessageFilter(IOutboundMessageFilter filter)
 {
     this.WithOutboundMessageFilter(typeof(object), filter);
     return(this);
 }