PropertyGetter Class

Summary

Property getter
graph BT Type-->Base0["Object"] Type["PropertyGetter"] class Type type-node

Syntax

public class PropertyGetter

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
PropertyGetter(string, StringComparison) Initializes a new instance of the PropertyGetter class.

Methods

Name Value Summary
Get(object, string) object
Gets the specified instance.
Get<T>(object, string) T
Gets the specified instance.
GetExpression(object, string) Expression
Gets the expression.
GetExpression(Type, string) Expression
Gets the expression.
GetPropertyDelegate(object, string) PropertyDelegate
Gets the property delegate.
GetPropertyDelegate(Type, string) PropertyDelegate
Gets the property delegate.
GetPropertyType(object, string) Type
Gets the type of the property.
GetPropertyType(Type, string) Type
Gets the type of the property.
Getter(Type, string) Func<object, object>
Getters the specified type.
Getter<T>(Type, string) Func<object, T>
Getters the specified type.
TryGet(object, string, object) bool
Tries the get.
TryGet<T>(object, string, T) bool
Tries the get.
TryGetExpression(object, string, Expression) bool
Tries the get expression.
TryGetExpression(Type, string, Expression) bool
Tries the get expression.
TryGetPropertyDelegate(object, string, PropertyDelegate) bool
Tries the get property delegate.
TryGetPropertyDelegate(Type, string, PropertyDelegate) bool
Tries the get property delegate.
TryGetPropertyType(object, string, Type) bool
Tries the type of the get property.
TryGetPropertyType(Type, string, Type) bool
Tries the type of the get property.
TryGetter(Type, string, Func<object, object>) bool
Tries the getter.
TryGetter<T>(Type, string, Func<object, T>) bool
Tries the getter.

Extension Methods