public static FluentConfig DefaultDispatcher(this FluentConfig self, Type dispatcherType, int throughput = 100, TimeSpan?throughputDeadlineTimeout = null) { var type = dispatcherType.AssemblyQualifiedName; self.ConfigureDispatcher(type, throughput, throughputDeadlineTimeout); return(self); }
public static FluentConfig DefaultDispatcher(this FluentConfig self, DispatcherType dispatcherType, int throughput = 100, TimeSpan?throughputDeadlineTimeout = null) { string type = dispatcherType.GetName(); self.ConfigureDispatcher(type, throughput, throughputDeadlineTimeout); return(self); }