2 writes to Value
Microsoft.AspNetCore.Mvc.Core (2)
JsonResult.cs (2)
21Value = value; 39Value = value;
13 references to Value
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\SystemTextJsonResultExecutor.cs (2)
58Log.JsonResultExecuting(_logger, result.Value); 60var value = result.Value;
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
NewtonsoftJsonResultExecutor.cs (2)
92Log.JsonResultExecuting(_logger, result.Value); 104var value = result.Value;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
ControllerTest.cs (2)
320Assert.Same(data, actualJsonResult.Value); 336Assert.Same(data, actualJsonResult.Value);
ControllerUnitTestabilityTests.cs (7)
201Assert.NotNull(jsonResult.Value); 202Assert.Same(model, jsonResult.Value); 203Assert.IsType<MyModel>(jsonResult.Value); 215Assert.Null(jsonResult.Value); 233Assert.NotNull(jsonResult.Value); 234Assert.Same(model, jsonResult.Value); 235Assert.IsType<MyModel>(jsonResult.Value);