IPatternContext Interface

Namespace
Microsoft.Extensions.FileSystemGlobbing.Internal
Assemblies
  • Microsoft.Extensions.FileSystemGlobbing

Syntax

public interface IPatternContext
interface Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext

Methods

Declare(System.Action<Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment, System.Boolean>)
void Declare(Action<IPathSegment, bool> onDeclare)
PopDirectory()
void PopDirectory()
PushDirectory(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase)
void PushDirectory(DirectoryInfoBase directory)
Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase)
Return type:System.Boolean
bool Test(DirectoryInfoBase directory)
Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase)
Return type:Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult
PatternTestResult Test(FileInfoBase file)