12345678910111213141516171819202122232425 |
- using JsonRPC4.Common;
- using JsonRPC4.Router.Abstractions;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace JsonRPC4.Router.Defaults
- {
- public class RpcMethodSuccessResult : IRpcMethodResult
- {
- public object ReturnObject { get; }
- public RpcMethodSuccessResult(object returnObject = null)
- {
- this.ReturnObject = returnObject;
- }
- // Token: 0x060000FB RID: 251 RVA: 0x000047E3 File Offset: 0x000029E3
- public RpcResponse ToRpcResponse(RpcId id)
- {
- return new RpcResponse(id, this.ReturnObject);
- }
- }
- }
|