Esempio n. 1
0
 /// <summary>
 /// Write to a file
 /// </summary>
 public static void Write(string fileName, string contents)
 {
     FileCache.Write(fileName, contents);
 }
Esempio n. 2
0
 /// <summary>
 /// Read from a file and keep a cached copy of its content
 /// </summary>
 public static string Read(string fileName)
 {
     return(FileCache.Read(fileName));
 }