Unosquare
    Show / Hide Table of Contents

    Interface IPropertyProxy

    Represents a generic interface to store getters and setters for high speed access to properties.

    Namespace: Swan.Reflection
    Syntax
    public interface IPropertyProxy

    Properties

    EnclosingType

    Gets the type owning this property proxy.

    Declaration
    Type EnclosingType { get; }
    Property Value
    Type Description
    Type

    Name

    Gets the name of the property.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    String

    Property

    Gets the associated reflection property info.

    Declaration
    PropertyInfo Property { get; }
    Property Value
    Type Description
    PropertyInfo

    PropertyType

    Gets the type of the property.

    Declaration
    Type PropertyType { get; }
    Property Value
    Type Description
    Type

    Methods

    GetValue(Object)

    Gets the property value via a stored delegate.

    Declaration
    object GetValue(object instance)
    Parameters
    Type Name Description
    Object instance

    The instance.

    Returns
    Type Description
    Object

    The property value.

    SetValue(Object, Object)

    Sets the property value via a stored delegate.

    Declaration
    void SetValue(object instance, object value)
    Parameters
    Type Name Description
    Object instance

    The instance.

    Object value

    The value.

    Comments

    Back to top Copyright © 2017-2019 Unosquare