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