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