6 instantiations of EdgeKey
Microsoft.AspNetCore.Routing (6)
Matching\HttpMethodMatcherPolicy.cs (6)
194
var key = new
EdgeKey
(httpMethod, acceptCorsPreFlight);
204
key = new
EdgeKey
(httpMethod, false);
249
var key = new
EdgeKey
(httpMethod, acceptCorsPreFlight);
257
key = new
EdgeKey
(httpMethod, false);
281
if (!edges.TryGetValue(new
EdgeKey
(AnyMethod, false), out _))
286
edges[new
EdgeKey
(AnyMethod, false)] = matches;
11 references to EdgeKey
Microsoft.AspNetCore.Routing (11)
Matching\HttpMethodMatcherPolicy.cs (11)
175
var edges = new Dictionary<
EdgeKey
, List<Endpoint>>();
194
var
key = new EdgeKey(httpMethod, acceptCorsPreFlight);
249
var
key = new EdgeKey(httpMethod, acceptCorsPreFlight);
320
var
key = (
EdgeKey
)edges[i].State;
441
internal readonly struct EdgeKey : IEquatable<
EdgeKey
>, IComparable<
EdgeKey
>, IComparable
456
public int CompareTo(
EdgeKey
other)
469
return CompareTo((
EdgeKey
)obj!);
472
public bool Equals(
EdgeKey
other)
481
var other = obj as
EdgeKey
?;