UrlMatchingNode Class¶
A node in a Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree
.
- Namespace
Microsoft.AspNetCore.Routing.Tree
- Assemblies
- Microsoft.AspNetCore.Routing
Syntax¶
[DebuggerDisplay("{DebuggerToString(),nq}")]
public class UrlMatchingNode
-
class
Microsoft.AspNetCore.Routing.Tree.
UrlMatchingNode
Constructors¶
-
UrlMatchingNode
(System.Int32)¶ Initializes a new instance of
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode
.Arguments: length (System.Int32) – The length of the path to this node in the Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree
.public UrlMatchingNode(int length)
-
Properties¶
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
CatchAlls
¶ Gets or sets the
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode
representing catch all parameter segments following this segment in theMicrosoft.AspNetCore.Routing.Tree.TreeRouter
.Return type: Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode public UrlMatchingNode CatchAlls { get; set; }
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
ConstrainedCatchAlls
¶ Gets or sets the
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode
representing catch all parameter segments with constraints following this segment in theMicrosoft.AspNetCore.Routing.Tree.TreeRouter
.Return type: Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode public UrlMatchingNode ConstrainedCatchAlls { get; set; }
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
ConstrainedParameters
¶ Gets or sets the
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode
representing parameter segments with constraints following this segment in theMicrosoft.AspNetCore.Routing.Tree.TreeRouter
.Return type: Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode public UrlMatchingNode ConstrainedParameters { get; set; }
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
Depth
¶ Gets the length of the path to this node in the
Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree
.Return type: System.Int32 public int Depth { get; }
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
IsCatchAll
¶ Gets or sets a value indicating whether this node represents a catch all segment.
Return type: System.Boolean public bool IsCatchAll { get; set; }
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
Literals
¶ Gets the literal segments following this segment.
Return type: System.Collections.Generic.Dictionary<System.String> public Dictionary<string, UrlMatchingNode> Literals { get; }
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
Matches
¶ Gets the list of matching route entries associated with this node.
Return type: System.Collections.Generic.List<Microsoft.AspNetCore.Routing.Tree.InboundMatch> public List<InboundMatch> Matches { get; }
-
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode.
Parameters
¶ Gets or sets the
Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode
representing parameter segments following this segment in theMicrosoft.AspNetCore.Routing.Tree.TreeRouter
.Return type: Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode public UrlMatchingNode Parameters { get; set; }
-