Skip to content

Class ActionMethod<T> ​

Namespace: Tool.Utils.ActionDelegate
Assembly: Tool.Net.dll

调用方法信息

csharp
public class ActionMethod<T>

Type Parameters ​

T

类对象

Inheritance ​

object ← ActionMethod<T>

Inherited Members ​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Extension Methods ​

ObjectExtension.Add<T>(object, object, object), ObjectExtension.CopyEntity(object, object, params string[]), ObjectExtension.EntityToJson(object), ObjectExtension.EntityToJson(object, bool), ObjectExtension.EntityToJson(object, bool, string), DictionaryExtension.GetDictionary(object), TypeExtension.GetFieldKey(object, string, out bool), TypeExtension.GetFieldKey<T>(object, string, out bool), TypeExtension.GetFieldKey(object, Type, string, out bool), ObjectExtension.GetIntPtr(object), ObjectExtension.GetIntPtrInt(object), TypeExtension.GetPropertieFind(object, string, bool), TypeExtension.GetProperties(object), TypeExtension.GetPropertyKey(object, string, out bool), TypeExtension.GetPropertyKey<T>(object, string, out bool), TypeExtension.GetPropertyKey(object, Type, string, out bool), TypeExtension.GetValue(object, PropertyDescriptor), TypeExtension.GetValue(object, string, bool), TypeExtension.GetValue(object, string), ObjectExtension.Read<T>(object, object, int, int), ObjectExtension.Read<T>(object, int, object, int, int), DictionaryExtension.SetDictionary(object, IDictionary<string, object>), TypeExtension.SetFieldKey(object, string, object), TypeExtension.SetFieldKey<T>(object, string, object), TypeExtension.SetFieldKey(object, Type, string, object), TypeExtension.SetPropertyKey(object, string, object), TypeExtension.SetPropertyKey<T>(object, string, object), TypeExtension.SetPropertyKey(object, Type, string, object), TypeExtension.SetValue(object, PropertyDescriptor, object), TypeExtension.SetValue(object, string, object, bool), TypeExtension.SetValue(object, string, object), ObjectExtension.ToBase64String(object), ObjectExtension.ToBytes(object), ObjectExtension.ToBytes(object, out Type), DictionaryExtension.ToDictionary(object), DictionaryExtension.ToDictionary<T>(object), DictionaryExtension.ToIDictionary(object), DictionaryExtension.ToIDictionary<T>(object), ObjectExtension.ToJson(object), ObjectExtension.ToJson(object, JsonSerializerOptions), ObjectExtension.ToJsonWeb(object), ObjectExtension.ToJsonWeb(object, Action<JsonSerializerOptions>), ObjectExtension.ToTryVar<T>(object, T), ObjectExtension.ToVar<T>(object), ObjectExtension.ToVar(object, Type, bool), ObjectExtension.ToVar(object, string), ObjectExtension.ToXml(object)

Remarks ​

代码由逆血提供支持

Constructors ​

ActionMethod(MethodInfo) ​

初始化

csharp
public ActionMethod(MethodInfo methodInfo)

Parameters ​

methodInfo MethodInfo

方法

ActionMethod(MethodInfo, Type) ​

初始化

csharp
public ActionMethod(MethodInfo methodInfo, Type ClassType)

Parameters ​

methodInfo MethodInfo

方法

ClassType Type

类的

Properties ​

Action ​

方法委托

csharp
public ActionDispatcher<T> Action { get; }

Property Value ​

ActionDispatcher<T>

IsBase ​

是不是继承类方法

csharp
public bool IsBase { get; }

Property Value ​

bool

IsStatic ​

是否是静态方法

csharp
public bool IsStatic { get; }

Property Value ​

bool

IsTask ​

是否是 异步函数?

csharp
public bool IsTask { get; }

Property Value ​

bool

IsVoid ​

是否无返回值

csharp
public bool IsVoid { get; }

Property Value ​

bool

MethodEnum ​

方法的公开类型

csharp
public MethodFlags MethodEnum { get; }

Property Value ​

MethodFlags

Name ​

方法名称

csharp
public string Name { get; }

Property Value ​

string

Parameters ​

方法参数

csharp
public Parameter[] Parameters { get; }

Property Value ​

Parameter[]

Methods ​

ToString() ​

返回方法信息缩写

csharp
public override string ToString()

Returns ​

string

基于Apache-2.0协议开源