/// <summary>
 /// 使用MQLog
 /// </summary>
 /// <param name="containerManager"></param>
 /// <returns></returns>
 public static ContainerManager UseMQLog(this ContainerManager containerManager)
 {
     containerManager.AddSingleton <ILogMQConfigProvider, DefaultConfigProvider>();
     return(containerManager);
 }
 /// <summary>
 /// 使用rabbitMQ
 /// </summary>
 /// <param name="containerManager"></param>
 /// <returns></returns>
 public static ContainerManager UseRabbitMQ(this ContainerManager containerManager)
 {
     return(containerManager.AddSingleton <IMQBinarySerializer, MQJsonBinarySerializer>()
            .AddSingleton <IMQFactory, RabbitMQFactory>()
            );
 }