Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged
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.PatternContexts
{
public abstract class PatternContextRagged : PatternContext<PatternContextRagged.FrameData>
{
public struct FrameData
{
public bool IsNotApplicable;
public int SegmentGroupIndex;
public IList<IPathSegment> SegmentGroup;
public int BacktrackAvailable;
public int SegmentIndex;
public bool InStem;
public IList<string> StemItems { get; }
public string Stem { get; }
}
protected IRaggedPattern Pattern { get; }
public PatternContextRagged(IRaggedPattern pattern);
protected bool IsStartingGroup();
protected bool IsEndingGroup();
protected bool TestMatchingSegment(string value);
protected bool TestMatchingGroup(FileSystemInfoBase value);
protected string CalculateStem(FileInfoBase matchedFile);
}
}