コード例 #1
0
 public static void LoadRabbitMQInstances()
 {
     Publishes      = AppSetting.GetChildren("PublishSettings:Publishes");
     RabbitMQModels = new List <RabbitMQModel>();
     if (Publishes != null)
     {
         foreach (var publish in Publishes)
         {
             if (publish == null)
             {
                 continue;
             }
             var rabbitMQModel = GetRabbitMQModel(publish);
             RabbitMQModels.Add(rabbitMQModel);
         }
     }
 }