public void Configure(IWebJobsBuilder builder) { builder.Services.AddScoped <IMessagingGateway, MessagingGateway>(x => { var config = x.GetService <IConfiguration>(); var messagingConnection = new MessagingConnection { ConnectionString = config["AuditSbConnection"], QueueName = config["AuditSbQueueName"] }; return(new MessagingGateway(messagingConnection)); }); }
public MessagingHub(MessagingConnection connections) : base(connections) { }
public MessagingHubManager(IHubContext <MessagingHub> hubContext, MessagingConnection connections) : base(hubContext, connections) { }
public MessagingGateway(MessagingConnection sbConnection) { _sbConnection = sbConnection; }