public static Hacknet.Folder AddFile(this Hacknet.Folder self, string name, Executable.Interface data) => self.AddFile(name, Executable.Handler.GetStandardFileDataBy(data));
/// <summary> /// Creates a File based on the name and the Executable.IInterface generated file data. /// </summary> /// <returns>The File that was created.</returns> /// <param name="name">The name to assign to the File.</param> /// <param name="exeInterface">The Executable.IInterface whose file data is to be generated.</param> public File CreateFile(string name, Executable.Interface exeInterface) => CreateFile(name, Executable.Handler.GetStandardFileDataBy(exeInterface));