public void AddTextFileContent(string key, string filename, string content) { EnsureKey(key); FileUtils.WriteTextFile(MakePath(key, filename), content); if (Added != null) { Added(this, new FileCacheStoreAddedEventArgs() { SizeKB = content.Length * sizeof(char) }); } }