WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
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
System
System.IO
Definition:
DirectoryInfoExtensions.cs:7
DirectOutput
Extensions
FileInfoExtensions.cs
Generated on Sat Nov 19 2016 19:32:47 for WIP by
1.8.9.1