MemberAccessor Class

Base class of accessor classes that may access members without system reflection. See the derived classes for more details.

Definition

Namespace: KGySoft.Reflection
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public abstract class MemberAccessor
Inheritance
Object    MemberAccessor
Derived

Properties

MemberInfo Gets the reflection member info of the accessed member.

Methods

Equals Determines whether the specified Object is equal to the current MemberAccessor.
(Overrides ObjectEquals(Object))
GetCreateAccessor Gets an existing or creates a new MemberAccessor for the specified memberInfo.
GetHashCode Gets a hash code for the current MemberAccessor instance.
(Overrides ObjectGetHashCode)
ToString Returns a String that represents the current MemberAccessor.
(Overrides ObjectToString)

Extension Methods

Convert Converts an Object specified in the obj parameter to the desired targetType.
See the Examples section of the generic ConvertTTarget(Object, CultureInfo) overload for an example.
(Defined by ObjectExtensions)
ConvertTTarget Converts an Object specified in the obj parameter to the desired TTarget.
(Defined by ObjectExtensions)
In Gets whether item is among the elements of set.
See the Examples section of the generic InT(T, T) overload for an example.
(Defined by ObjectExtensions)
TryConvert Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvert Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvertTTarget Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvertTTarget Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)

See Also