From e0766f950ff1976d345646a66b7c46423689c8e6 Mon Sep 17 00:00:00 2001 From: earloc Date: Tue, 14 May 2024 19:52:01 +0200 Subject: [PATCH] test: update snapshots --- ...Root.Namespace.TR0002_NoCode.g.verified.cs | 4 +- ...Root.Namespace.TR0003_NoCode.g.verified.cs | 4 +- ...Root.Namespace.TR0004_NoCode.g.verified.cs | 4 +- ...Root.Namespace.TR0005_NoCode.g.verified.cs | 4 +- ...Root.Namespace.TR0002_NoCode.g.verified.cs | 4 +- ...Root.Namespace.TR0003_NoCode.g.verified.cs | 4 +- ...Root.Namespace.TR0004_NoCode.g.verified.cs | 4 +- ...Root.Namespace.TR0005_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ...t.Namespace.Groupings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ....Namespace.NoWarnings_NoCode.g.verified.cs | 4 +- ...ace.TR0005_NoCode.Typealized.g.verified.cs | 8 +-- ...ace.TR0005_NoCode.Typealized.g.verified.cs | 8 +-- ....Groupings_NoCode.Typealized.g.verified.cs | 53 +++++++++++++++++-- ...de_WithDuplicates.Typealized.g.verified.cs | 26 +++++++-- ....Groupings_NoCode.Typealized.g.verified.cs | 53 +++++++++++++++++-- ....Groupings_NoCode.Typealized.g.verified.cs | 53 +++++++++++++++++-- 24 files changed, 213 insertions(+), 60 deletions(-) diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs index 1bf459f..d1d1a62 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0002_NoCode { /// @@ -33,7 +33,7 @@ public static LocalizedString Greetings__name__today_is__date(this IStringLocali public static LocalizedString Greetings__name__today_is__date1(this IStringLocalizer that, object name, object date) => that["Greetings {name}, today is {date}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0002_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs index ebcb07b..d398957 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0003_NoCode { /// @@ -33,7 +33,7 @@ public static LocalizedString Greetings__0__today_is__1(this IStringLocalizer that, object _0, object _1) => that["Hello {0}, today is {1}"].Format(_0, _1); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0003_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs index 9ae0b5b..bd1ffaf 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0004_NoCode { /// @@ -24,7 +24,7 @@ internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0004_ public static LocalizedString Greetings__name(this IStringLocalizer that, object name) => that["Greetings {name:wtf}"].Format(name); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0004_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs index d5fe1e6..ee19434 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0005_NoCode { /// @@ -24,7 +24,7 @@ internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0005_ public static LocalizedString _class(this IStringLocalizer that, string name) => that["class {name:s}"].Format(name); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0005_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs index 1bf459f..d1d1a62 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0002#IStringLocalizerExtensions.Some.Root.Namespace.TR0002_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0002_NoCode { /// @@ -33,7 +33,7 @@ public static LocalizedString Greetings__name__today_is__date(this IStringLocali public static LocalizedString Greetings__name__today_is__date1(this IStringLocalizer that, object name, object date) => that["Greetings {name}, today is {date}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0002_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs index ebcb07b..d398957 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0003#IStringLocalizerExtensions.Some.Root.Namespace.TR0003_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0003_NoCode { /// @@ -33,7 +33,7 @@ public static LocalizedString Greetings__0__today_is__1(this IStringLocalizer that, object _0, object _1) => that["Hello {0}, today is {1}"].Format(_0, _1); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0003_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs index 9ae0b5b..bd1ffaf 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0004#IStringLocalizerExtensions.Some.Root.Namespace.TR0004_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0004_NoCode { /// @@ -24,7 +24,7 @@ internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0004_ public static LocalizedString Greetings__name(this IStringLocalizer that, object name) => that["Greetings {name:wtf}"].Format(name); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0004_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs index d5fe1e6..ee19434 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#IStringLocalizerExtensions.Some.Root.Namespace.TR0005_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0005_NoCode { /// @@ -24,7 +24,7 @@ internal static partial class IStringLocalizerExtensionsSomeRootNamespaceTR0005_ public static LocalizedString _class(this IStringLocalizer that, string name) => that["class {name:s}"].Format(name); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{TR0005_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index 73586bf..04f48a2 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index 73586bf..04f48a2 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Ignores_Invalid_Setting_UseParamNamesInMethodNames#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Ignores_Invalid_Setting_UseParamNamesInMethodNames#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index 3bcd1be..1ba1298 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Ignores_Invalid_Setting_UseParamNamesInMethodNames#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Ignores_Invalid_Setting_UseParamNamesInMethodNames#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index 3bcd1be..1ba1298 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#IStringLocalizerExtensions.Some.Root.Namespace.Groupings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#IStringLocalizerExtensions.Some.Root.Namespace.Groupings_NoCode.g.verified.cs index d6d55ed..823090c 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#IStringLocalizerExtensions.Some.Root.Namespace.Groupings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#IStringLocalizerExtensions.Some.Root.Namespace.Groupings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceGroupings_NoCode { /// @@ -96,7 +96,7 @@ public static LocalizedString Question_Continue_to_delete__UserName(this IString public static LocalizedString Warning__UserName__will_be_deleted(this IStringLocalizer that, string UserName) => that["[Warning]: {UserName:s} will be deleted!"].Format(UserName); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{Groupings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_CustomToolNamespace#IStringLocalizerExtensions.Some.Special.Custom.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_CustomToolNamespace#IStringLocalizerExtensions.Some.Special.Custom.Namespace.NoWarnings_NoCode.g.verified.cs index 7d20a78..dbadfb9 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_CustomToolNamespace#IStringLocalizerExtensions.Some.Special.Custom.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_CustomToolNamespace#IStringLocalizerExtensions.Some.Special.Custom.Namespace.NoWarnings_NoCode.g.verified.cs @@ -9,10 +9,10 @@ using Some.Special.Custom.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeSpecialCustomNamespaceNoWarnings_NoCode { /// @@ -43,7 +43,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Internal_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Internal_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index 3bcd1be..1ba1298 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Internal_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Internal_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Public_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Public_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index a65b468..6036b73 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Public_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Honors_Public_MarkerType#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] public static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Ignores_Empty_CustomToolNamespace#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Ignores_Empty_CustomToolNamespace#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index 3bcd1be..1ba1298 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Ignores_Empty_CustomToolNamespace#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_Ignores_Empty_CustomToolNamespace#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_MarkerType_Fallback#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_MarkerType_Fallback#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs index 3bcd1be..1ba1298 100644 --- a/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_MarkerType_Fallback#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs +++ b/src/TypealizR.Tests/StringLocalizerExtensionsSourceGenerator.Tests/.snapshots/NoCode_Resx_MarkerType_Fallback#IStringLocalizerExtensions.Some.Root.Namespace.NoWarnings_NoCode.g.verified.cs @@ -8,10 +8,10 @@ using Some.Root.Namespace.TypealizR; namespace Microsoft.Extensions.Localization { - [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] /// /// Extensions for to utilize typed-access to ressources generated by TypealizR. /// + [GeneratedCode("TypealizR.StringLocalizerExtensionsSourceGenerator", "1.0.0.0")] internal static partial class IStringLocalizerExtensionsSomeRootNamespaceNoWarnings_NoCode { /// @@ -42,7 +42,7 @@ public static LocalizedString Hello(this IStringLocalizer that, string name, DateOnly date) => that["Hello {name:s}, today is {date:d}"].Format(name, date); /// - /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties + /// wraps the specified into a generated type providing properties to access [Some.Nested.Group]: via properties /// IStringLocalizer{NoWarnings_NoCode} localize = ... /// localize.Some.Nested.Group... /// diff --git a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs index dca5b4e..c2e9424 100644 --- a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs +++ b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Error_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs @@ -9,10 +9,10 @@ using Some.Root.Namespace; namespace Some.Root.Namespace.TypealizR { - [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] /// - /// Wraps a and provides properties for typed-access to resources, generated by TypealizR + /// Wraps a and provides properties for typed-access to resources, generated by TypealizR /// + [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class TypealizedTR0005_NoCode { private readonly IStringLocalizer localizer; @@ -61,9 +61,9 @@ public LocalizedString LogWarning_class(string brother) /// The strings. public IEnumerable GetAllStrings(bool includeParentCultures) => this.localizer.GetAllStrings(includeParentCultures); /// - /// The wrapped + /// The wrapped /// - /// The wrapped . + /// The wrapped . public IStringLocalizer Localizer => this.localizer; } } \ No newline at end of file diff --git a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs index dca5b4e..c2e9424 100644 --- a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs +++ b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/Emits_Warning_TR0005#Some.Root.Namespace.TR0005_NoCode.Typealized.g.verified.cs @@ -9,10 +9,10 @@ using Some.Root.Namespace; namespace Some.Root.Namespace.TypealizR { - [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] /// - /// Wraps a and provides properties for typed-access to resources, generated by TypealizR + /// Wraps a and provides properties for typed-access to resources, generated by TypealizR /// + [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class TypealizedTR0005_NoCode { private readonly IStringLocalizer localizer; @@ -61,9 +61,9 @@ public LocalizedString LogWarning_class(string brother) /// The strings. public IEnumerable GetAllStrings(bool includeParentCultures) => this.localizer.GetAllStrings(includeParentCultures); /// - /// The wrapped + /// The wrapped /// - /// The wrapped . + /// The wrapped . public IStringLocalizer Localizer => this.localizer; } } \ No newline at end of file diff --git a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs index 4d4496f..b872653 100644 --- a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs +++ b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Are_Honored_In_Generated_Code#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs @@ -9,10 +9,10 @@ using Some.Root.Namespace; namespace Some.Root.Namespace.TypealizR { - [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] /// - /// Wraps a and provides properties for typed-access to resources, generated by TypealizR + /// Wraps a and provides properties for typed-access to resources, generated by TypealizR /// + [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class TypealizedGroupings_NoCode { private readonly IStringLocalizer localizer; @@ -50,13 +50,28 @@ public LocalizedString Hello /// public LocalizedString Hello__name__today_is__date(string name, DateOnly date) => localizer["Hello {name:s}, today is {date:d}"].Format(name, date); + /// + /// Gets the Log translator group. + /// public LogGroup Log { get; } + /// + /// Gets the Question translator group. + /// public QuestionGroup Question { get; } + /// + /// Gets the Warning translator group. + /// public WarningGroup Warning { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class LogGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public LogGroup(IStringLocalizer localizer) { @@ -64,12 +79,24 @@ public LogGroup(IStringLocalizer l Critical = new CriticalGroup(localizer); Warning = new WarningGroup(localizer); } + /// + /// Gets the Critical translator group. + /// public CriticalGroup Critical { get; } + /// + /// Gets the Warning translator group. + /// public WarningGroup Warning { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class CriticalGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public CriticalGroup(IStringLocalizer localizer) { @@ -84,10 +111,16 @@ public CriticalGroup(IStringLocalizer localizer["[Log.Critical]: Failed to delete {UserName:s}"].Format(UserName); } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class WarningGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public WarningGroup(IStringLocalizer localizer) { @@ -111,10 +144,16 @@ public LocalizedString Unknown_error => localizer["[Log.Warning]: Unknown error"]; } } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class QuestionGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public QuestionGroup(IStringLocalizer localizer) { @@ -137,10 +176,16 @@ public LocalizedString Abort public LocalizedString Continue_to_delete__UserName(string UserName) => localizer["[Question]: Continue to delete {UserName:s}?"].Format(UserName); } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class WarningGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public WarningGroup(IStringLocalizer localizer) { @@ -177,9 +222,9 @@ public LocalizedString UserName__will_be_deleted(string UserName) /// The strings. public IEnumerable GetAllStrings(bool includeParentCultures) => this.localizer.GetAllStrings(includeParentCultures); /// - /// The wrapped + /// The wrapped /// - /// The wrapped . + /// The wrapped . public IStringLocalizer Localizer => this.localizer; } } \ No newline at end of file diff --git a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Handles_Duplicates#Some.Root.Namespace.Groupings_NoCode_WithDuplicates.Typealized.g.verified.cs b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Handles_Duplicates#Some.Root.Namespace.Groupings_NoCode_WithDuplicates.Typealized.g.verified.cs index e4c0879..5b2782e 100644 --- a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Handles_Duplicates#Some.Root.Namespace.Groupings_NoCode_WithDuplicates.Typealized.g.verified.cs +++ b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Handles_Duplicates#Some.Root.Namespace.Groupings_NoCode_WithDuplicates.Typealized.g.verified.cs @@ -9,10 +9,10 @@ using Some.Root.Namespace; namespace Some.Root.Namespace.TypealizR { - [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] /// - /// Wraps a and provides properties for typed-access to resources, generated by TypealizR + /// Wraps a and provides properties for typed-access to resources, generated by TypealizR /// + [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class TypealizedGroupings_NoCode_WithDuplicates { private readonly IStringLocalizer localizer; @@ -24,22 +24,40 @@ public TypealizedGroupings_NoCode_WithDuplicates(IStringLocalizer + /// Gets the Log translator group. + /// public LogGroup Log { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class LogGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public LogGroup(IStringLocalizer localizer) { this.localizer = localizer; Warning = new WarningGroup(localizer); } + /// + /// Gets the Warning translator group. + /// public WarningGroup Warning { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class WarningGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public WarningGroup(IStringLocalizer localizer) { @@ -101,9 +119,9 @@ public LocalizedString Unknown_error1 /// The strings. public IEnumerable GetAllStrings(bool includeParentCultures) => this.localizer.GetAllStrings(includeParentCultures); /// - /// The wrapped + /// The wrapped /// - /// The wrapped . + /// The wrapped . public IStringLocalizer Localizer => this.localizer; } } \ No newline at end of file diff --git a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs index ce24ad9..154e47a 100644 --- a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs +++ b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_BuildProperty#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs @@ -9,10 +9,10 @@ using Some.Root.Namespace; namespace Some.Root.Namespace.TypealizR { - [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] /// - /// Wraps a and provides properties for typed-access to resources, generated by TypealizR + /// Wraps a and provides properties for typed-access to resources, generated by TypealizR /// + [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class TypealizedGroupings_NoCode { private readonly IStringLocalizer localizer; @@ -50,13 +50,28 @@ public LocalizedString Hello /// public LocalizedString Hello_today_is(string name, DateOnly date) => localizer["Hello {name:s}, today is {date:d}"].Format(name, date); + /// + /// Gets the Log translator group. + /// public LogGroup Log { get; } + /// + /// Gets the Question translator group. + /// public QuestionGroup Question { get; } + /// + /// Gets the Warning translator group. + /// public WarningGroup Warning { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class LogGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public LogGroup(IStringLocalizer localizer) { @@ -64,12 +79,24 @@ public LogGroup(IStringLocalizer l Critical = new CriticalGroup(localizer); Warning = new WarningGroup(localizer); } + /// + /// Gets the Critical translator group. + /// public CriticalGroup Critical { get; } + /// + /// Gets the Warning translator group. + /// public WarningGroup Warning { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class CriticalGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public CriticalGroup(IStringLocalizer localizer) { @@ -84,10 +111,16 @@ public CriticalGroup(IStringLocalizer localizer["[Log.Critical]: Failed to delete {UserName:s}"].Format(UserName); } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class WarningGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public WarningGroup(IStringLocalizer localizer) { @@ -111,10 +144,16 @@ public LocalizedString Unknown_error => localizer["[Log.Warning]: Unknown error"]; } } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class QuestionGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public QuestionGroup(IStringLocalizer localizer) { @@ -137,10 +176,16 @@ public LocalizedString Abort public LocalizedString Continue_to_delete(string UserName) => localizer["[Question]: Continue to delete {UserName:s}?"].Format(UserName); } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class WarningGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public WarningGroup(IStringLocalizer localizer) { @@ -177,9 +222,9 @@ public LocalizedString will_be_deleted(string UserName) /// The strings. public IEnumerable GetAllStrings(bool includeParentCultures) => this.localizer.GetAllStrings(includeParentCultures); /// - /// The wrapped + /// The wrapped /// - /// The wrapped . + /// The wrapped . public IStringLocalizer Localizer => this.localizer; } } \ No newline at end of file diff --git a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs index ce24ad9..154e47a 100644 --- a/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs +++ b/src/TypealizR.Tests/TypealizedClassSourceGenerator.Tests/.snapshots/NoCode_Resx_Groups_Honors_Setting_UseParamNamesInMethodNames_ItemMetadata#Some.Root.Namespace.Groupings_NoCode.Typealized.g.verified.cs @@ -9,10 +9,10 @@ using Some.Root.Namespace; namespace Some.Root.Namespace.TypealizR { - [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] /// - /// Wraps a and provides properties for typed-access to resources, generated by TypealizR + /// Wraps a and provides properties for typed-access to resources, generated by TypealizR /// + [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class TypealizedGroupings_NoCode { private readonly IStringLocalizer localizer; @@ -50,13 +50,28 @@ public LocalizedString Hello /// public LocalizedString Hello_today_is(string name, DateOnly date) => localizer["Hello {name:s}, today is {date:d}"].Format(name, date); + /// + /// Gets the Log translator group. + /// public LogGroup Log { get; } + /// + /// Gets the Question translator group. + /// public QuestionGroup Question { get; } + /// + /// Gets the Warning translator group. + /// public WarningGroup Warning { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class LogGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public LogGroup(IStringLocalizer localizer) { @@ -64,12 +79,24 @@ public LogGroup(IStringLocalizer l Critical = new CriticalGroup(localizer); Warning = new WarningGroup(localizer); } + /// + /// Gets the Critical translator group. + /// public CriticalGroup Critical { get; } + /// + /// Gets the Warning translator group. + /// public WarningGroup Warning { get; } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class CriticalGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public CriticalGroup(IStringLocalizer localizer) { @@ -84,10 +111,16 @@ public CriticalGroup(IStringLocalizer localizer["[Log.Critical]: Failed to delete {UserName:s}"].Format(UserName); } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class WarningGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public WarningGroup(IStringLocalizer localizer) { @@ -111,10 +144,16 @@ public LocalizedString Unknown_error => localizer["[Log.Warning]: Unknown error"]; } } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class QuestionGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public QuestionGroup(IStringLocalizer localizer) { @@ -137,10 +176,16 @@ public LocalizedString Abort public LocalizedString Continue_to_delete(string UserName) => localizer["[Question]: Continue to delete {UserName:s}?"].Format(UserName); } + /// + /// Nested class created to provide grouped translations. + /// [GeneratedCode("TypealizR.TypealizedClassSourceGenerator", "1.0.0.0")] internal partial class WarningGroup { private readonly IStringLocalizer localizer; + /// + /// Creates a new instance of + /// [DebuggerStepThrough] public WarningGroup(IStringLocalizer localizer) { @@ -177,9 +222,9 @@ public LocalizedString will_be_deleted(string UserName) /// The strings. public IEnumerable GetAllStrings(bool includeParentCultures) => this.localizer.GetAllStrings(includeParentCultures); /// - /// The wrapped + /// The wrapped /// - /// The wrapped . + /// The wrapped . public IStringLocalizer Localizer => this.localizer; } } \ No newline at end of file