Update Lang Version to 12 ...
add Support for Getting Calculated Resource Title for Specified Resource Item ...
This commit is contained in:
@@ -158,5 +158,15 @@ namespace xStringService.Interfaces
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
#endregion
|
||||
|
||||
//
|
||||
#region Resource Title Action ...
|
||||
/// <summary>
|
||||
/// Retrieve Resource Title ...
|
||||
/// </summary>
|
||||
/// <param name="identifier"></param>
|
||||
/// <returns></returns>
|
||||
string GetResourceTitle(object identifier = null);
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -506,18 +506,18 @@ namespace xStringService.Providers
|
||||
.GetLanguages(cancellationToken);
|
||||
|
||||
//
|
||||
return result;
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
//
|
||||
#region Private ...
|
||||
#region Resource Title Action ...
|
||||
/// <summary>
|
||||
/// Retrieve Resource Title ...
|
||||
/// </summary>
|
||||
/// <param name="identifier"></param>
|
||||
/// <returns></returns>
|
||||
private string GetResourceTitle(object identifier = null)
|
||||
public string GetResourceTitle(object identifier = null)
|
||||
{
|
||||
//
|
||||
var result = item;
|
||||
@@ -531,7 +531,10 @@ namespace xStringService.Providers
|
||||
//
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
//
|
||||
#region Private ...
|
||||
/// <summary>
|
||||
/// Set Resource Title ...
|
||||
/// </summary>
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<!-- Runtime Definition -->
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<PackageId>xDashboard.xStringService</PackageId>
|
||||
<Version>1.0.0</Version>
|
||||
<LangVersion>12.0</LangVersion>
|
||||
<Authors>Hadi Khazaee Asl</Authors>
|
||||
<Company>SaherElm IT Center</Company>
|
||||
<PackageId>xDashboard.xStringService</PackageId>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
|
||||
<Description>
|
||||
it is a Part of xDashboard on SaherElm IT Center which provides String Resources Futures ...
|
||||
</Description>
|
||||
|
||||
Reference in New Issue
Block a user