public static IMessageBusBuilder AddNamedPipeClient(this IMessageBusBuilder builder, NamedPipeTransmitter transmitter) => builder.AddTransmitter(transmitter);
public static IMessageBusBuilder AddTransmitter <T>(this IMessageBusBuilder builder) where T : Transmitter, ITransmitter => builder.AddTransmitter(Activator.CreateInstance <T>());