From e34af9c8e3aa479e8aa79ba004d06b7e04b413b5 Mon Sep 17 00:00:00 2001 From: SzymonPobiega Date: Thu, 14 Nov 2019 07:48:41 +0100 Subject: [PATCH] Use type's full name as a topic name --- src/NServiceBus.SqlServer/PubSub/TopicNames.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NServiceBus.SqlServer/PubSub/TopicNames.cs b/src/NServiceBus.SqlServer/PubSub/TopicNames.cs index 0656105c1..f2de4529d 100644 --- a/src/NServiceBus.SqlServer/PubSub/TopicNames.cs +++ b/src/NServiceBus.SqlServer/PubSub/TopicNames.cs @@ -4,6 +4,6 @@ namespace NServiceBus.Transport.SQLServer static class TopicName { - public static string From(Type type) => $"{type.Namespace}.{type.Name}"; + public static string From(Type type) => type.FullName; } } \ No newline at end of file