Show / Hide Table of Contents

Class PathHelpers.Glob

Inheritance
System.Object
PathHelpers.Glob
Namespace: Xamarin
Assembly: Xamarin.Helpers.dll
Syntax
public static class Glob

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>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX