public static IOnErrorPolicyBuilder Outbound(this IOutboundPolicyBuilder outboundPolicyBuilder) { return(outboundPolicyBuilder .Outbound(builder => builder .Base() .Create() )); }
public static IOnErrorPolicyBuilder OutboundWithCaching(this IOutboundPolicyBuilder outboundPolicyBuilder, TimeSpan cacheDurationSeconds) { return(outboundPolicyBuilder .Outbound(builder => builder .Base() .CacheStore(cacheDurationSeconds) .Create() )); }