WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
FileInfoExtensions.cs
Go to the documentation of this file.
1 using System.IO;
2 
6 public static class FileInfoExtensions
7 {
13  public static string GetNameWithoutExtension(this FileInfo f)
14  {
15  if (f == null) return "";
16  if (!f.Extension.IsNullOrWhiteSpace())
17  {
18  return f.Name.Left(f.Name.Length - f.Extension.Length);
19  };
20  return f.Name;
21  }
22 
23 }
24