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