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