Table of Contents

Class ClrPropertyInfo

Namespace
Avalonia.Data.Core
Assembly
Avalonia.Base.dll
public class ClrPropertyInfo : IPropertyInfo
Inheritance
ClrPropertyInfo
Implements
Derived
Inherited Members

Constructors

ClrPropertyInfo(string, Func<object, object?>?, Action<object, object?>?, Type)

public ClrPropertyInfo(string name, Func<object, object?>? getter, Action<object, object?>? setter, Type propertyType)

Parameters

name string
getter Func<object, object>
setter Action<object, object>
propertyType Type

Properties

CanGet

public bool CanGet { get; }

Property Value

bool

CanSet

public bool CanSet { get; }

Property Value

bool

Name

public string Name { get; }

Property Value

string

PropertyType

public Type PropertyType { get; }

Property Value

Type

Methods

Get(object)

public object? Get(object target)

Parameters

target object

Returns

object

Set(object, object?)

public void Set(object target, object? value)

Parameters

target object
value object