DirectOutputR1
DirectOutput framework R1 for virtual pinball cabinets.
Go to:
Overview
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Pages
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
DirectOutput
Extensions
FileInfoExtensions.cs
Generated on Sat Mar 22 2014 14:40:44 for DirectOutputR1 by
1.8.3.1