<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="10.0.3" />

Microsoft.Extensions.FileSystemGlobbing.Internal.IPatternContext

public interface IPatternContext
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
namespace Microsoft.Extensions.FileSystemGlobbing.Internal { public interface IPatternContext { void Declare(Action<IPathSegment, bool> onDeclare); bool Test(DirectoryInfoBase directory); PatternTestResult Test(FileInfoBase file); void PushDirectory(DirectoryInfoBase directory); void PopDirectory(); } }