5 implementations of IPathSegment
Microsoft.Extensions.FileSystemGlobbing (5)
Internal\PathSegments\CurrentPathSegment.cs (1)
8public class CurrentPathSegment : IPathSegment
Internal\PathSegments\LiteralPathSegment.cs (1)
10public class LiteralPathSegment : IPathSegment
Internal\PathSegments\ParentPathSegment.cs (1)
8public class ParentPathSegment : IPathSegment
Internal\PathSegments\RecursiveWildcardSegment.cs (1)
8public class RecursiveWildcardSegment : IPathSegment
Internal\PathSegments\WildcardPathSegment.cs (1)
9public class WildcardPathSegment : IPathSegment
32 references to IPathSegment
Microsoft.Extensions.FileSystemGlobbing (32)
Internal\ILinearPattern.cs (1)
14IList<IPathSegment> Segments { get; }
Internal\IPatternContext.cs (1)
15void Declare(Action<IPathSegment, bool> onDeclare);
Internal\IRaggedPattern.cs (4)
14IList<IPathSegment> Segments { get; } 16IList<IPathSegment> StartsWith { get; } 18IList<IList<IPathSegment>> Contains { get; } 20IList<IPathSegment> EndsWith { get; }
Internal\MatcherContext.cs (1)
138private void DeclareInclude(IPathSegment patternSegment, bool isLastSegment)
Internal\PatternContexts\PatternContext.cs (1)
15public virtual void Declare(Action<IPathSegment, bool> declare) { }
Internal\PatternContexts\PatternContextLinear.cs (1)
53IPathSegment segment = Pattern.Segments[Frame.SegmentIndex];
Internal\PatternContexts\PatternContextLinearInclude.cs (1)
16public override void Declare(Action<IPathSegment, bool> onDeclare)
Internal\PatternContexts\PatternContextRagged.cs (2)
119public IList<IPathSegment> SegmentGroup; 167IPathSegment segment = Frame.SegmentGroup[groupLength - index - 1];
Internal\PatternContexts\PatternContextRaggedInclude.cs (1)
17public override void Declare(Action<IPathSegment, bool> onDeclare)
Internal\Patterns\PatternBuilder.cs (19)
41var allSegments = new List<IPathSegment>(); 44List<IPathSegment>? segmentsPatternStartsWith = null; 45List<IList<IPathSegment>>? segmentsPatternContains = null; 46List<IPathSegment>? segmentsPatternEndsWith = null; 54IPathSegment? segment = null; 175segmentsPatternStartsWith = new List<IPathSegment>(allSegments); 176segmentsPatternEndsWith = new List<IPathSegment>(); 177segmentsPatternContains = new List<IList<IPathSegment>>(); 182segmentsPatternEndsWith = new List<IPathSegment>(); 219public LinearPattern(List<IPathSegment> allSegments) 224public IList<IPathSegment> Segments { get; } 239public RaggedPattern(List<IPathSegment> allSegments, IList<IPathSegment> segmentsPatternStartsWith, IList<IPathSegment> segmentsPatternEndsWith, IList<IList<IPathSegment>> segmentsPatternContains) 247public IList<IList<IPathSegment>> Contains { get; } 249public IList<IPathSegment> EndsWith { get; } 251public IList<IPathSegment> Segments { get; } 253public IList<IPathSegment> StartsWith { get; }