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); }
public FluentConfigurationSource WithOutboundMessageFilter <TMessage>(IOutboundMessageFilter filter) { this.WithOutboundMessageFilter(typeof(TMessage), filter); return(this); }
public FluentConfigurationSource WithGlobalOutboundMessageFilter(IOutboundMessageFilter filter) { this.WithOutboundMessageFilter(typeof(object), filter); return(this); }