コード例 #1
0
 public static RabbitMQOptions UseClientProvidedName(
     this RabbitMQOptions options,
     string clientProvidedName)
 {
     return(options.UseConnectionFactory(factory => factory.ClientProvidedName = clientProvidedName));
 }
コード例 #2
0
 public static RabbitMQOptions UseConnectionUrl(
     this RabbitMQOptions options,
     string url)
 {
     return(options.UseConnectionFactory(factory => factory.Uri = new Uri(url)));
 }