/// <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)); }
/// <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)); }