mikehadlow/EasyNetQ — pull request #263 by micdenny (2014-08-09 14:32:24+00:00)
Title: Future publish refactor #260

Refactor changes:

* created new interface `IScheduler`
* created a default Scheduler implementation, getting dependent components using dependency injection
* add a property `IScheduler Scheduler { get; }` to the `IBus` interface
* changed the implementation using `IAdvancedBus` instead of `IBus`, this will also provide much more flexibility for future changes
* registered the component `IScheduler` on the container
* changed the `RabbitBusExtentions` to be a simple proxy class, using directly the `bus.Scheduler` property that already contains the implementation.
* removed the duplicated `BusExtensions` leaving just the `RabbitBusExtensions` class. If you want we can rename in `BusExtensions` if you prefer.