private SetCachedContent ( long pageId, int versionId, string content ) : void | ||
pageId | long | |
versionId | int | |
content | string | |
Résultat | void |
private void SetCachedContent(long pageId, int versionId, string content)
{
var file = GetCacheFile(pageId, versionId);
Path.GetDirectoryName(file).CreateDirectoryIfNotExists();
File.WriteAllText(file, content);
}