Search Results for

    Show / Hide Table of Contents

    Class PropertyInfoExtensions

    Reflection extensions.

    Inheritance
    object
    PropertyInfoExtensions
    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 information.

    Returns
    Type Description
    Func<object, object>

    The property value getter.

    GetValueSetter(PropertyInfo)

    Gets 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