public class MethodPublic Class Methodtype Method = class end| Method(MethodInfo, NullableDynamicBuilderType) | 构造方法,初始化 Method 实例。 |
| Method(MethodInfo, IDynamicMethodInfo) | 使用指定的方法信息和动态方法信息初始化Method类的新实例。 |
| Method(Type, String, NullableDynamicBuilderType) | 初始化一个动态调用方法。 |
| DynamicBuilderType | 获取调用器的构建类型。 |
| HasReturn | 是否具有返回值。当返回值为Task时,也会认为没有返回值。 |
| Info | 方法信息。 |
| IsAwaitable | 获取一个值,该值指示该方法的返回类型是否支持等待。 |
| Name | 获取方法名。 |
| RealReturnType |
真实返回值类型。
当方法为void或task时,为。 当方法为task泛型时,为泛型元素类型。 |
| ReturnKind | 返回值的Task类型。 |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| Invoke | 同步调用方法。 |
| InvokeAsync(Object, Object) | 异步调用方法。 |
| InvokeAsyncTResult(Object, Object) | 异步调用方法,返回指定类型结果。 |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |