Example #1
0
 /// <summary>
 /// Reads the file.
 /// </summary>
 /// <param name="path">The path to the file.</param>
 public void ReadFile(string path)
 {
     this.ReadText(Read.File(path));
 }
Example #2
0
 /// <summary>
 /// Reads the embedded resource.
 /// </summary>
 /// <param name="assembly">The assembly.</param>
 /// <param name="name">The name of the embedded resource.</param>
 public void ReadEmbeddedResource(Assembly assembly, string name)
 {
     this.ReadText(Read.EmbeddedResource(assembly, name));
 }