|
static List< string > | ListFiles (string path, bool shallow=true) |
|
static bool | Exists (string path) |
|
Definition at line 11 of file ResourceInfo.cs.
◆ Exists()
static bool BGC.IO.ResourceInfo.Exists |
( |
string |
path | ) |
|
|
inlinestatic |
Definition at line 47 of file ResourceInfo.cs.
51 if (
string.IsNullOrEmpty(path) ==
false)
53 for (
int i = 0; i <
length; ++i)
55 if (
resources[i].Equals(path, StringComparison.Ordinal))
static void InitializeResourceInfo()
static List< string > resources
◆ InitializeResourceInfo()
static void BGC.IO.ResourceInfo.InitializeResourceInfo |
( |
| ) |
|
|
inlinestaticprivate |
◆ ListFiles()
static List<string> BGC.IO.ResourceInfo.ListFiles |
( |
string |
path, |
|
|
bool |
shallow = true |
|
) |
| |
|
inlinestatic |
Definition at line 16 of file ResourceInfo.cs.
References BGC.IO.ResourceInfoConstructor.CharPathSeparator.
19 List<string> paths =
new List<string>();
26 int directoryCount = path.Split(ResourceInfoConstructor.CharPathSeparator).Length;
28 int resourceDirectoryCount;
30 for (
int i = 0; i <
length; ++i)
34 if (filePath.Contains(path))
36 resourceDirectoryCount = filePath.Split(ResourceInfoConstructor.CharPathSeparator).Length;
37 if (directoryCount == resourceDirectoryCount || shallow ==
false)
static void InitializeResourceInfo()
static List< string > resources
◆ length
int BGC.IO.ResourceInfo.length |
|
staticprivate |
◆ resources
List<string> BGC.IO.ResourceInfo.resources |
|
staticprivate |
The documentation for this class was generated from the following file: