LiteralPathSegment Class

Namespace
Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments
Assemblies
  • Microsoft.Extensions.FileSystemGlobbing

Syntax

public class LiteralPathSegment : IPathSegment
class Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.LiteralPathSegment

Constructors

LiteralPathSegment(System.String, System.StringComparison)
public LiteralPathSegment(string value, StringComparison comparisonType)

Properties

Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.LiteralPathSegment.CanProduceStem
Return type:System.Boolean
public bool CanProduceStem { get; }
Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.LiteralPathSegment.Value
Return type:System.String
public string Value { get; }

Methods

Equals(System.Object)
Return type:System.Boolean
public override bool Equals(object obj)
GetHashCode()
Return type:System.Int32
public override int GetHashCode()
Match(System.String)
Return type:System.Boolean
public bool Match(string value)