コード例 #1
0
 public RabbitMQTest()
 {
     _rabbitClient = RabbitClient.Create(
         config =>
     {
         config.HostName    = "rabbitmq1.esdserver.zhongan.com.cn";
         config.VirtualHost = "debug";
     });
 }
コード例 #2
0
 static WxEventMQClientHelper()
 {
     _Instance     = new WxEventMQClientHelper();
     _RabbitClient = ClientFactory.Create(config: new ClientConfiguration
     {
         Uri            = _ConnectionString,
         Name           = "rabbit",
         SerializerType = SerializerType.NewtonsoftJson
     }, log: new Log());
 }
コード例 #3
0
 public ChatController()
 {
     this.rabbitClient = new RabbitClient();
 }
コード例 #4
0
ファイル: PilotApi.cs プロジェクト: milanm/FastAndFuriousNet
 public PilotApi(IRabbitClient client, string accessCode, string teamName)
 {
     this.client     = client;
     this.accessCode = accessCode;
     this.teamName   = teamName;
 }
コード例 #5
0
 public PokedexService(IRabbitClient rabbitClient)
 {
     _rabbitClient = rabbitClient;
 }