Skip to content

Class Parameter

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

获取指定类下面的所有方法的成员,低级封装

csharp
public class Parameter

Inheritance

objectParameter

Derived

ApiParameter

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

Parameter(ParameterInfo)

初始化,并赋值

csharp
public Parameter(ParameterInfo parameter)

Parameters

parameter ParameterInfo

原对象模型

Parameter(Parameter)

复制元数据到新的对象

csharp
public Parameter(Parameter parameter)

Parameters

parameter Parameter

Properties

DefaultValue

参数默认值

csharp
public object DefaultValue { get; }

Property Value

object

GetParameter

参数对象原型

csharp
public ParameterInfo GetParameter { get; }

Property Value

ParameterInfo

IsDBNull

默认值是不是 类型

csharp
public bool IsDBNull { get; }

Property Value

bool

IsType

变量类型是不是:(string,short,int, long, byte, bool, char, decimal, double, float, object, ushort, uint, ulong, DateTime 类型可以为加?)时为 true

csharp
public bool IsType { get; }

Property Value

bool

Name

变量名称

csharp
public string Name { get; }

Property Value

string

ParameterObj

值类型初始值

csharp
public object ParameterObj { get; }

Property Value

object

ParameterType

变量类型的

csharp
public Type ParameterType { get; }

Property Value

Type

SpaceType

变量类型的命名空间

csharp
public string SpaceType { get; }

Property Value

string

Type

变量类型

csharp
public string Type { get; }

Property Value

string

基于Apache-2.0协议开源