public async Task SendMessageAsync <T>(T message, string queueOrTopicName, ServiceBusType type) { ISender sender = new SenderFactory(_connectionString).GetConcreteSender(type, queueOrTopicName); await sender.SendMessage <T>(message); }
public async Task SendMessageAsync <T>(T message, string queueOrTopicName, ServiceBusType type) { ISender sender = new SenderFactory(_connectionString).GetConcreteSender(type, queueOrTopicName); await sender.SendMessage <T>(message); }