18 lines
395 B
C#
18 lines
395 B
C#
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace Kurs.Languages;
|
|||
|
|
|
|||
|
|
public class LanguageTextCacheItem : object
|
|||
|
|
{
|
|||
|
|
public Dictionary<string, string> Dictionary { get; set; }
|
|||
|
|
|
|||
|
|
public LanguageTextCacheItem()
|
|||
|
|
{ }
|
|||
|
|
|
|||
|
|
public static string CalculateCacheKey(string resourceName, string cultureName)
|
|||
|
|
{
|
|||
|
|
// .en.Kurs.Dynamics
|
|||
|
|
return $".{cultureName}.{resourceName}";
|
|||
|
|
}
|
|||
|
|
}
|