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