public sealed class RpcMethod : MethodPublic NotInheritable Class RpcMethod
Inherits Method[<SealedAttribute>]
type RpcMethod =
class
inherit Method
end| RpcMethod(MethodInfo) | 实例化一个Rpc调用函数,并在方法声明的类上操作 |
| RpcMethod(MethodInfo, Type, Type) | 实例化一个Rpc调用函数,并在指定类上操作 |
| DynamicBuilderType |
获取调用器的构建类型。
(继承自 Method。) |
| HasCallContext | 是否包含调用上下文 |
| HasReturn |
是否具有返回值。当返回值为Task时,也会认为没有返回值。
(继承自 Method。) |
| Info |
方法信息。
(继承自 Method。) |
| IsAwaitable |
获取一个值,该值指示该方法的返回类型是否支持等待。
(继承自 Method。) |
| Name |
获取方法名。
(继承自 Method。) |
| ParameterNames | 参数名集合 |
| Parameters | 参数集合 |
| ParameterTypes | 参数类型集合,已处理out及ref,无参数时为空集合, |
| RealReturnType |
真实返回值类型。
当方法为void或task时,为。 当方法为task泛型时,为泛型元素类型。 (继承自 Method。) |
| Reenterable | 获取是否允许重新进入的标志。 |
| ReturnKind |
返回值的Task类型。
(继承自 Method。) |
| RpcAttributes | Rpc属性集合 |
| ServerFromType | 注册类型 |
| ServerRpcAttributes | Rpc服务属性集合 |
| ServerToType | 实例类型 |
| ToMethodInfo | 实现方法。 |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| GetAttribute(Type) | 获取指定类型属性标签 |
| GetAttributeT | 获取指定类型属性标签 |
| GetDescription | 描述属性 |
| GetFilters | 筛选器 |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetNormalParameters | 获取常规Rpc参数。 |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| Invoke |
同步调用方法。
(继承自 Method。) |
| InvokeAsyncTResult(Object, Object) |
异步调用方法,返回指定类型结果。
(继承自 Method。) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |