Table of Contents

Class PropertyInfoAccessor<TComponent, TMember>

Namespace
Alis.Core.Aspect.Data.Json
Assembly
Alis.dll

The property info accessor class

internal sealed class PropertyInfoAccessor<TComponent, TMember> : IMemberAccessor

Type Parameters

TComponent
TMember

Inheritance

Implements

Inherited Members

Constructors

PropertyInfoAccessor(PropertyInfo)

Initializes a new instance

public PropertyInfoAccessor(PropertyInfo pi)

Parameters

pi PropertyInfo

The pi

Fields

_get

The get

private readonly JFunc<TComponent, TMember> _get

Field Value

JFunc<TComponent, TMember>

_set

The set

private readonly JAction<TComponent, TMember> _set

Field Value

JAction<TComponent, TMember>

Methods

Get(object)

Gets the component

public object Get(object component)

Parameters

component object

The component

Returns

object

The object

Set(object, object)

Sets the component

public void Set(object component, object value)

Parameters

component object

The component

value object

The value

See Also