B-Arts DocumentationIndice generale

BReflection

Identità

  • Namespace: B.BReflections

  • Assembly: BFramework

  • Tipo: class

  • Sorgente API: versione 5.0.0

Scopo

Tipo pubblico B-Arts del namespace B.BReflections. La responsabilità concreta è rappresentata dai membri pubblici elencati di seguito.

Dichiarazione

public class BReflection

Costruttori

  • BReflection(string FullClassName)

  • BReflection(string FullClassName, Assembly BAssembly)

  • BReflection(string ClassName, Type BAssemblyType)

Proprietà

Proprietà Tipo Accesso
BClass Type? get/set
ClassName string get/set
Constructors List<ConstructorInfo> get/set
Events List<EventInfo> get/set
Fields List<FieldInfo> get/set
IsNothing bool get/set
Methods List<MethodInfo> get/set
Properties List<PropertyInfo> get/set

Metodi

  • static object? GetAttribute(PropertyInfo Prop, eBAttributes TipoAttributo)

  • static BValueProperty? GetBValueProperty(object BObject, PropertyInfo Prop, BLogText? LogText = null)

  • FieldInfo? GetField(string FieldName)

  • static Type? GetItemType(IList list)

  • PropertyInfo? GetProperty(string Name)

  • static object? GetProperty(object BObject, PropertyInfo Prop, object[] Parameters)

  • static object? GetProperty(BLogText? LogText, object BObject, PropertyInfo Prop, object[] Parameters)

  • static object? GetValueProperty(object Obj, string PropertyName, BLogText? LogText = null)

  • static bool IsPrivateRuntimeField(PropertyInfo Prop)

  • static bool SetValueProperty(object Obj, PropertyInfo Prop, object? Value, BLogText? LogText = null)

Esempi

Consultare BReflection - Esempi.