예제 #1
0
        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);
        }
예제 #2
0
        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);
        }