5 writes to SampleString
BasicWebSite (5)
Controllers\ActionConstraints\ConsumesAttribute_MediaTypeSuffix.cs (2)
17jsonInput.SampleString = "Read from JSON: " + jsonInput.SampleString; 26xmlInput.SampleString = "Read from XML: " + xmlInput.SampleString;
Controllers\ActionConstraints\ConsumesAttribute_OveridesBaseController.cs (2)
16product.SampleString = "ConsumesAttribute_OverridesBaseController_text/json"; 23product.SampleString = "ConsumesAttribute_OverridesBaseController_application/json";
Controllers\ActionConstraints\ConsumesAttribute_OveridesController.cs (1)
15product.SampleString = "ConsumesAttribute_OverridesController_application/xml";
7 references to SampleString
BasicWebSite (2)
Controllers\ActionConstraints\ConsumesAttribute_MediaTypeSuffix.cs (2)
17jsonInput.SampleString = "Read from JSON: " + jsonInput.SampleString; 26xmlInput.SampleString = "Read from XML: " + xmlInput.SampleString;
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
ConsumesAttributeTestsBase.cs (5)
110Assert.Equal(requestContentType, product.SampleString); 132Assert.Equal(expectedString, product.SampleString); 157Assert.Equal(expectedString, product.SampleString); 176Assert.Equal("Read from JSON: some input", product.SampleString); 199Assert.Equal("Read from XML: some input", product.SampleString);