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