mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-13 03:35:04 +00:00
Exposing Path.GetFileName(path)
This commit is contained in:
@@ -9,6 +9,14 @@ namespace ICD.Common.Utils.IO
|
||||
{
|
||||
public static class IcdPath
|
||||
{
|
||||
public static string GetFileName(string path)
|
||||
{
|
||||
if (path == null)
|
||||
throw new ArgumentNullException("path");
|
||||
|
||||
return Path.GetFileName(path);
|
||||
}
|
||||
|
||||
public static string GetFileNameWithoutExtension(string path)
|
||||
{
|
||||
if (path == null)
|
||||
|
||||
Reference in New Issue
Block a user