public static IMessageBusBuilder AddCoder(this IMessageBusBuilder builder) => builder.AddCoder <PacketCoder>();
public static IMessageBusBuilder AddCoder <T>(this IMessageBusBuilder builder) where T : IPacketCoder => builder.AddCoder(Activator.CreateInstance <T>());
public static IMessageBusBuilder AddRemote(this IMessageBusBuilder builder) { MessageBus.Instance = new MessageBusRemote(); return(builder.AddCoder()); }