ClrPropertyInfo<TSource, TValue> Class
Definition
public class ClrPropertyInfo<TSource, TValue>
Constructors
| Name | Description |
|---|---|
| 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
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
| Name | Description |
|---|---|
| CanGet | No summary available. |
| CanSet | No summary available. |
| Name | No summary available. |
| PropertyType | No 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; }