Skip to main content

ClrPropertyInfo<TSource, TValue> Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class ClrPropertyInfo<TSource, TValue>

Inheritance: object -> ClrPropertyInfo<TSource, TValue>

Implements: IPropertyInfo, IPropertyInfo<,<T>>

Constructors​

NameDescription
ClrPropertyInfo<TSource, TValue>No summary available.

ClrPropertyInfo<TSource, TValue> Constructor​

public ClrPropertyInfo<TSource, TValue>(string name, Func<TSource, TValue> getter, Action<TSource, TValue> setter)

Parameters​

name string

getter Func<TSource, TValue>

setter Action<TSource, TValue>

Methods​

NameDescription
GetNo summary available.
SetNo summary available.

Get Method​

public TValue Get(TSource target)

Parameters​

target TSource

Returns​

TValue

Set Method​

public void Set(TSource target, TValue value)

Parameters​

target TSource

value TValue

Properties​

NameDescription
CanGetNo summary available.
CanSetNo summary available.
NameNo summary available.
PropertyTypeNo summary available.

CanGet Property​

public bool CanGet { get; set; }

CanSet Property​

public bool CanSet { get; set; }

Name Property​

public string Name { get; set; }

PropertyType Property​

public Type PropertyType { get; set; }