public static IBusControl CreateFromServiceBroker(this ServiceBusFactory factory, Action <ServiceBrokerServiceBusConfiguration> cfg)
 {
     return(factory.Create(cfg));
 }
 public static IBusControl CreateFromInMemory(this ServiceBusFactory factory, Action <InMemoryQueueServiceBusConfiguration> cfg)
 {
     return(factory.Create(cfg));
 }