static void Main() { var channelProviders = new ChannelProviderBase[] { new Handlers.CustomerHandlers.ChannelProvider(), new Handlers.InvoiceHandlers.ChannelProvider(), new Handlers.ProductHandlers.ChannelProvider(), new Handlers.Audit.ChannelProvider() }; PointOfSaleBus.Start( channelProvider: new CompositeChannelProvider(channelProviders), busStateChangedHandler: new BusStateChangedHandler() ); }
public static void Main() { PointOfSaleBus.Start(new ChannelProvider()); }
static void Main() { PointOfSaleBus.Start(new ChannelProvider(), new BusStateChangedHandler()); }