add draft
This commit is contained in:
54
ResourceString.Net.Logic/Properties/Resources.resx
Normal file
54
ResourceString.Net.Logic/Properties/Resources.resx
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<data name="ResourceStringMembers" xml:space="preserve">
|
||||
<value>
|
||||
#region {0}
|
||||
|
||||
private static readonly Lazy<IResourceString> Lazy{0} = new Lazy<IResourceString>(
|
||||
() => new ResourceManagerString("{0}", {1}, CultureInfo.CurrentCulture),
|
||||
LazyThreadSafetyMode.PublicationOnly
|
||||
);
|
||||
|
||||
public static IResourceString {0} => Lazy{0}.Value;
|
||||
|
||||
#endregion // {0}
|
||||
</value>
|
||||
</data>
|
||||
<data name="ResourcesClassTemplate" xml:space="preserve">
|
||||
<value>
|
||||
using ResourceString.Net.Contract;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Resources;
|
||||
using System.Threading;
|
||||
|
||||
namespace {0}
|
||||
{{
|
||||
internal static class {1}
|
||||
{{
|
||||
{2}
|
||||
{3}
|
||||
}}
|
||||
}}
|
||||
</value>
|
||||
</data>
|
||||
<data name="ResourceManagerMemberTemplate" xml:space="preserve">
|
||||
<value>
|
||||
#region ResourceManager
|
||||
|
||||
private static readonly Type _Type = typeof({0});
|
||||
|
||||
private static readonly Lazy<ResourceManager> _ResourceManager = new Lazy<ResourceManager>(
|
||||
() => new ResourceManager(_Type.FullName, _Type.Assembly),
|
||||
LazyThreadSafetyMode.PublicationOnly
|
||||
);
|
||||
|
||||
public static ResourceManager ResourceManager => _ResourceManager.Value;
|
||||
|
||||
#endregion // ResourceManager
|
||||
</value>
|
||||
</data>
|
||||
<data name="DefaultPropertyName_ResourceManager">
|
||||
<value>ResourceManager</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user