11 references to IsOptional
Microsoft.AspNetCore.Mvc.FunctionalTests (11)
ApiExplorerTest.cs (11)
186Assert.False(parameter.RouteInfo.IsOptional); 209Assert.False(parameter.RouteInfo.IsOptional); 232Assert.False(parameter.RouteInfo.IsOptional); 256Assert.False(parameter.RouteInfo.IsOptional); 282Assert.False(month.RouteInfo.IsOptional); 287Assert.False(day.RouteInfo.IsOptional); 292Assert.False(year.RouteInfo.IsOptional); 318Assert.False(month.RouteInfo.IsOptional); 323Assert.True(day.RouteInfo.IsOptional); 328Assert.True(year.RouteInfo.IsOptional); 377Assert.True(id.RouteInfo.IsOptional);