Ejemplo n.º 1
0
 public static string WithAliasPath(this ISitePageCacheDependencyKey key, string aliasPath, string culture) =>
 string.IsNullOrWhiteSpace(culture)
         ? $"node|{key.SiteName}|{aliasPath}"
         : $"node|{key.SiteName}|{aliasPath}|{culture}";
Ejemplo n.º 2
0
 public static string WithNodeGuid(this ISitePageCacheDependencyKey key, Guid nodeGuid) =>
 $"nodeguid|{key.SiteName}|{nodeGuid}";
Ejemplo n.º 3
0
 public static string WithAliasPath(this ISitePageCacheDependencyKey key, string aliasPath) =>
 $"node|{key.SiteName}|{aliasPath}";