Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear
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 PatternContextLinear : PatternContext<PatternContextLinear.FrameData>
{
public struct FrameData
{
public bool IsNotApplicable;
public int SegmentIndex;
public bool InStem;
public IList<string> StemItems { get; }
public string Stem { get; }
}
protected ILinearPattern Pattern { get; }
public PatternContextLinear(ILinearPattern pattern);
protected bool IsLastSegment();
protected bool TestMatchingSegment(string value);
protected string CalculateStem(FileInfoBase matchedFile);
}
}