ObjectEx
Inherits object
Public Static Functions
int
GetUnmanagedSize(this object? value)
object?
CastTo(this object? value, Type toType)
TTo?
CastTo(this object? value)
TTo
CastTo(this TFrom value)
T
FieldCopy(ref this T parent)
T
FieldCopy(this T parent)
TChild
FieldCopy(this TParent parent)
void
FieldCopy(ref this TParent parent, ref TChild child)
void
FieldCopy(this TParent parent, TChild child)
bool
IsObsolete(string name)
FieldInfo?
GetField(this object obj, string fieldName)
object
GetFieldValue(this object obj, string fieldName)
void
SetFieldValue(this object obj, string fieldName, object value)
PropertyInfo?
GetProperty(this object obj, string propertyName)
object
GetPropertyValue(this object obj, string propertyName)
void
SetPropertyValue(this object obj, string propertyName, object value)
T2?
IfNotNull(this T1? value, Func selector)
IEnumerable
GetTypes(this IEnumerable objects)
Type?[]
GetTypes(this IList objects)
Private Attributes
BindingFlags
BINDING_FLAGS
ConcurrentDictionary
_classFields
ConcurrentDictionary
_classProperties
