3 types derived from Product
BasicWebSite (3)
Models\Product_Json.cs (1)
6public class Product_Json : Product
Models\Product_text.cs (1)
6public class Product_Text : Product
Models\Product_Xml.cs (1)
6public class Product_Xml : Product
3 instantiations of Product
BasicWebSite (3)
Controllers\ActionResultOfTController.cs (3)
19return new Product { SampleInt = productId.Value, }; 26return new[] { new Product(), new Product() };
36 references to Product
BasicWebSite (23)
Controllers\ActionConstraints\ConsumesAttribute_MediaTypeSuffix.cs (2)
13public Product CreateProduct([FromBody] Product_Json jsonInput) 22public Product CreateProduct([FromBody] Product_Xml xmlInput)
Controllers\ActionConstraints\ConsumesAttribute_NoFallBackActionController.cs (2)
13public Product CreateProduct([FromBody] Product_Json jsonInput) 19public Product CreateProduct([FromBody] Product_Xml xmlInput)
Controllers\ActionConstraints\ConsumesAttribute_OveridesBaseController.cs (2)
13public Product CreateProduct([FromBody] Product_Json product) 20public virtual IActionResult CreateProduct([FromBody] Product product)
Controllers\ActionConstraints\ConsumesAttribute_OveridesController.cs (1)
12public override IActionResult CreateProduct([FromBody] Product product)
Controllers\ActionResultOfTController.cs (2)
12public ActionResult<Product> GetProduct(int? productId) 23public async Task<ActionResult<IEnumerable<Product>>> GetProductsAsync()
Controllers\FiltersController.cs (1)
15public IActionResult AlwaysRunResultFiltersCanRunWhenResourceFilterShortCircuit([FromBody] Product product) =>
Controllers\HomeController.cs (1)
117public IActionResult Product(Product product)
Controllers\RequestFormLimitsController.cs (8)
14public ActionResult<Product> RequestFormLimitsBeforeAntiforgeryValidation(Product product) 26public ActionResult<Product> OverrideControllerLevelLimits(Product product) 37public ActionResult<Product> OverrideControllerLevelLimitsUsingDefaultLimits(Product product) 50public ActionResult<Product> RequestSizeLimitBeforeRequestFormLimits(Product product)
Controllers\RequestSizeLimitController.cs (4)
14public ActionResult<Product> RequestSizeLimitCheckBeforeAntiforgeryValidation(Product product) 26public ActionResult<Product> DisableRequestSizeLimit([FromBody] Product product)
Microsoft.AspNetCore.Mvc.FunctionalTests (13)
BasicTests.cs (3)
437var result = JsonSerializer.Deserialize<Product>(response, TestJsonSerializerOptionsProvider.Options); 451var result = JsonSerializer.Deserialize<Product[]>(response, TestJsonSerializerOptionsProvider.Options);
ConsumesAttributeTestsBase.cs (10)
106var product = JsonConvert.DeserializeObject<Product>(await response.Content.ReadAsStringAsync()); 128var product = JsonConvert.DeserializeObject<Product>(await response.Content.ReadAsStringAsync()); 153var product = JsonConvert.DeserializeObject<Product>(responseString); 172var product = JsonConvert.DeserializeObject<Product>(await response.Content.ReadAsStringAsync()); 195var product = JsonConvert.DeserializeObject<Product>(await response.Content.ReadAsStringAsync());