2 writes to HasCatchAllPath
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
src\Grpc\JsonTranscoding\src\Shared\HttpRoutePatternParser.cs (2)
125
CurrentVariable.
HasCatchAllPath
= true;
336
CurrentVariable.
HasCatchAllPath
= false;
13 references to HasCatchAllPath
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Internal\JsonTranscodingRouteAdapter.cs (2)
72
if (remainingSegmentCount == 1 && segmentVariable.
HasCatchAllPath
&& pattern.Verb != null)
81
tempSegments[i] = segmentVariable.
HasCatchAllPath
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (11)
HttpRoutePatternParserTests.cs (11)
34
Assert.False(v.
HasCatchAllPath
);
41
Assert.False(v.
HasCatchAllPath
);
64
Assert.False(v.
HasCatchAllPath
);
156
Assert.False(v.
HasCatchAllPath
);
175
Assert.False(v.
HasCatchAllPath
);
194
Assert.True(v.
HasCatchAllPath
);
214
Assert.False(v.
HasCatchAllPath
);
235
Assert.False(v.
HasCatchAllPath
);
255
Assert.True(v.
HasCatchAllPath
);
277
Assert.True(v.
HasCatchAllPath
);
298
Assert.False(v.
HasCatchAllPath
);