CacheKeys
Provides static methods to create memory cache keys used by import/export class objects.
namespace Relativity.DataExchange
{
internal static class CacheKeys
{
public const string CompatibilityCheckCacheId = "2619DD28-5BA7-4774-8D8C-278DE295254F";
public const string RelativityUrlCacheId = "F659E4EE-9B41-46A6-9D77-76C828A2D0A7";
public static string CreateCompatibilityCheckCacheKey(string host)
{
host = host.AppendTrailingSlashToUrl();
return ("2619DD28-5BA7-4774-8D8C-278DE295254F." + host).ToUpperInvariant();
}
public static string CreateRelativityUrlCacheKey(string host)
{
host = host.AppendTrailingSlashToUrl();
return ("F659E4EE-9B41-46A6-9D77-76C828A2D0A7." + host).ToUpperInvariant();
}
}
}