add version 0.0.1
This commit is contained in:
@@ -13,6 +13,31 @@
|
||||
|
||||
#endregion // {0}
|
||||
</value>
|
||||
<comment>0 = ResourceId, 1 = ResourceManagerPropertyName</comment>
|
||||
</data>
|
||||
<data name="ResourceFormatClassMembers" xml:space="preserve">
|
||||
<value>
|
||||
internal static class {0}
|
||||
{{
|
||||
private static readonly Lazy<IResourceString> LazyFormat = new Lazy<IResourceString>(
|
||||
() => new ResourceManagerString("{0}", {1}, CultureInfo.CurrentCulture),
|
||||
LazyThreadSafetyMode.PublicationOnly
|
||||
);
|
||||
|
||||
public static IResourceString Format => LazyFormat.Value;
|
||||
{2}
|
||||
}}
|
||||
</value>
|
||||
<comment>0 = ResourceId, 1 = ResourceManagerPropertyName, 2 = FromMethodDefinition</comment>
|
||||
</data>
|
||||
<data name="ResourceFormatClassFromMethod" xml:space="preserve">
|
||||
<value>
|
||||
public static IResourceString From({0}) => new FormattedResourceString(
|
||||
Format,
|
||||
{1}
|
||||
);
|
||||
</value>
|
||||
<comment>0 = FromMethodSignature, 1 = ParameterNames</comment>
|
||||
</data>
|
||||
<data name="ResourcesClassTemplate" xml:space="preserve">
|
||||
<value>
|
||||
@@ -31,6 +56,7 @@ namespace {0}
|
||||
}}
|
||||
}}
|
||||
</value>
|
||||
<comment>0 = ns, 1 = ClassName, 2 = ResourceManagerRegion, 3 = ResourceRegions</comment>
|
||||
</data>
|
||||
<data name="ResourceManagerMemberTemplate" xml:space="preserve">
|
||||
<value>
|
||||
@@ -39,7 +65,7 @@ namespace {0}
|
||||
private static readonly Type _Type = typeof({0});
|
||||
|
||||
private static readonly Lazy<ResourceManager> _ResourceManager = new Lazy<ResourceManager>(
|
||||
() => new ResourceManager(_Type.FullName, _Type.Assembly),
|
||||
() => new ResourceManager(_Type.FullName ?? string.Empty, _Type.Assembly),
|
||||
LazyThreadSafetyMode.PublicationOnly
|
||||
);
|
||||
|
||||
@@ -47,6 +73,7 @@ namespace {0}
|
||||
|
||||
#endregion // ResourceManager
|
||||
</value>
|
||||
<comment>0 = ResourceManagerTypeName</comment>
|
||||
</data>
|
||||
<data name="DefaultPropertyName_ResourceManager">
|
||||
<value>ResourceManager</value>
|
||||
|
||||
Reference in New Issue
Block a user