UnityMol
0.9.6-875
UnityMol viewer / In developement
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
SplitExtension.cs
Go to the documentation of this file.
1
using
System
.IO;
2
using
System
;
3
using
System
.Collections.Generic;
4
5
public
static
class
SplitExt
{
10
internal
static
List<DirectoryInfo>
Split
(
this
DirectoryInfo path)
11
{
12
if
(path == null)
throw
new
ArgumentNullException(
"path"
);
13
var ret =
new
List<DirectoryInfo>();
14
if
(path.Parent != null) ret.AddRange(
Split
(path.Parent));
15
ret.Add(path);
16
return
ret;
17
}
18
}
System
SplitExt
Definition:
SplitExtension.cs:5
SplitExt.Split
static List< DirectoryInfo > Split(this DirectoryInfo path)
Split the specified path.
Definition:
SplitExtension.cs:10
Assets
New GUI
SplitExtension.cs
Generated on Wed Aug 3 2016 15:10:26 for UnityMol by
1.8.11