Esempio n. 1
0
 /// <summary>
 /// Gets a binary writer for combined path
 /// </summary>
 /// <returns>StreamWriter for the file.</returns>
 /// <param name="args">Paths and filename.</param>
 public static BinaryWriter BinaryWriterCurrent(this IStreamLocator locator, string fileName)
 {
     return(locator.BinaryWriterFor(Path.Combine(locator.CurrentPath, fileName)));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets a binary writer for combined path
 /// </summary>
 /// <returns>StreamWriter for the file.</returns>
 /// <param name="args">Paths and filename.</param>
 public static BinaryWriter BinaryWriterFor(this IStreamLocator locator, string[] args)
 {
     return(locator.BinaryWriterFor(Path.Combine(args)));
 }