fix resource class name generation -> 0.0.3
This commit is contained in:
@@ -36,10 +36,10 @@ namespace TestNameSpace
|
||||
|
||||
#region ResourceManager
|
||||
|
||||
private static readonly Type _Type = typeof(ResourceManager);
|
||||
private static readonly Type _Type = typeof(TestResourceClass);
|
||||
|
||||
private static readonly Lazy<ResourceManager> _ResourceManager = new Lazy<ResourceManager>(
|
||||
() => new ResourceManager(_Type.FullName ?? string.Empty, _Type.Assembly),
|
||||
() => new ResourceManager(""ResourceManager"" ?? string.Empty, _Type.Assembly),
|
||||
LazyThreadSafetyMode.PublicationOnly
|
||||
);
|
||||
|
||||
@@ -175,7 +175,7 @@ namespace TestNameSpace
|
||||
Some: v => CodeSnippetFactory.CreateResourceClassCodeSnippet(
|
||||
"TestNameSpace",
|
||||
"TestResourceClass",
|
||||
CodeSnippetFactory.CreateResourceMangerMemberCodeSnippet("ResourceManager"),
|
||||
CodeSnippetFactory.CreateResourceMangerMemberCodeSnippet("ResourceManager", "TestResourceClass"),
|
||||
v.Resources
|
||||
),
|
||||
None: () => throw new InvalidOperationException()
|
||||
|
||||
Reference in New Issue
Block a user