public static InputFile GetInputFile(int id) => InputFiles.Find(x => x.ID == id);
public static bool HasInputFile(string originalName) => InputFiles.Find(x => x.OriginalName.Equals(originalName)) != null;
/// <summary> /// Finds a stadnard <see cref="InputFile"/> in <see cref="InputFiles"/>. /// </summary> /// <param name="inputFileName">Name of the findable <see cref="InputFile"/>.</param> /// <returns>An <see cref="InputFile"/> whose name is <paramref name="inputFileName"/>.</returns> public static InputFile GetStandardInputFile(string inputFileName) => InputFiles.Find(x => x.Name.Equals(inputFileName) && x is StandardInputFile);