Search Results for

    Show / Hide Table of Contents

    Class PropertyInfoExtensions

    Reflection extensions.

    Inheritance
    object
    PropertyInfoExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Common.Helpers
    Assembly: Evergine.Common.dll
    Syntax
    public static class PropertyInfoExtensions

    Methods

    GetValueGetter(PropertyInfo)

    Get the expression of a value getter for a property. Compile the expression to execute or combine it with other expressions.

    Declaration
    public static Func<object, object> GetValueGetter(this PropertyInfo propertyInfo)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo

    The property info.

    Returns
    Type Description
    Func<object, object>

    The value property getter.

    GetValueSetter(PropertyInfo)

    Get the expression of a value setter for a property. Compile the expression to execute or combine it with other expressions.

    Declaration
    public static Action<object, object> GetValueSetter(this PropertyInfo propertyInfo)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo

    The property info.

    Returns
    Type Description
    Action<object, object>

    The value property setter.

    In This Article
    Back to top
    Generated by DocFX