Update Lang Version to 12 ...

add Support for Getting Calculated Resource Title for Specified Resource Item ...
This commit is contained in:
2026-06-12 02:11:48 +03:30
parent 65ba20c98d
commit e494dea3cf
3 changed files with 20 additions and 5 deletions
+10
View File
@@ -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
}
}
+6 -3
View File
@@ -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>
+4 -2
View File
@@ -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>