public interface IServiceResult<T> : IServiceResult
| ActionResult |
获取返回的 IActionResult。此属性不会被 Json 序列化。
(Inherited from IServiceResult) |
| Code |
获取/设置返回的代码。
(Inherited from IServiceResult) |
| Data | 获取/设置返回的数据。 |
| Msg |
获取/设置返回的消息。
(Inherited from IServiceResult) |
| Success |
指示调用是否成功。此属性不会被 Json 序列化。
(Inherited from IServiceResult) |
| ToCamelCaseJsonContentResult |
将本对象转为一个 Json 类型的 ContentResult 对象,且属性名称强制使用 CamelCase 命名策略。
(Inherited from IServiceResult) |
| ToCamelCaseJsonResult |
将本对象转为一个 JsonResult 对象,且属性名称强制使用小驼峰(首字母小写)命名策略。
(Inherited from IServiceResult) |
| ToJsonContentResult |
将本对象转为一个 Json 类型的 ContentResult 对象。
(Inherited from IServiceResult) |
| ToJsonResult |
将本对象转为一个 JsonResult 对象。
(Inherited from IServiceResult) |