Class PathHelpers.Glob
Inheritance
System.Object
PathHelpers.Glob
Assembly: Xamarin.Helpers.dll
Syntax
Methods
|
Improve this Doc
View Source
Expand(String)
Expand the specified pattern
against the current working
directory. If the pattern cannot be expanded, nothing will be yielded.
Declaration
public static IEnumerable<string> Expand(string pattern)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
Expand(String, String)
Expand the specified pattern
against the
basePath
. If the pattern cannot be expanded,
nothing will be yielded.
Declaration
public static IEnumerable<string> Expand(string basePath, string pattern)
Parameters
Type |
Name |
Description |
System.String |
basePath |
|
System.String |
pattern |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
ShellExpand(String)
Perform a glob expansion on pattern
with shell style
behavior, using the current working directory as a base path. If the
pattern cannot be expanded, the pattern itself will be yielded.
Declaration
public static IEnumerable<string> ShellExpand(string pattern)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|