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