Class CollectionExtensions
Inherited Members
Namespace: SociallyDistant.Core
Assembly: SociallyDistant.Framework.dll
Syntax
public static class CollectionExtensions
Methods
Glob(IEnumerable<string>, string)
Declaration
public static IEnumerable<string> Glob(this IEnumerable<string> collection, string globPattern)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<string> | collection | |
string | globPattern |
Returns
Type | Description |
---|---|
IEnumerable<string> |
GlobMatch(ReadOnlySpan<char>, ReadOnlySpan<char>)
Declaration
public static bool GlobMatch(ReadOnlySpan<char> text, ReadOnlySpan<char> pattern)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<char> | text | |
ReadOnlySpan<char> | pattern |
Returns
Type | Description |
---|---|
bool |