Class DataBindingProperty<TProperty>
Implements
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class DataBindingProperty<TProperty> : IDataBindingProperty
  Type Parameters
| Name | Description | 
|---|---|
| TProperty | 
Properties
DisplayName
Gets or sets the display name of the data binding registration
Declaration
public string DisplayName { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Getter
Gets the function to call to get the value of the property
Declaration
public Func<TProperty> Getter { get; }
  Property Value
| Type | Description | 
|---|---|
| Func<TProperty> | 
Setter
Gets the action to call to set the value of the property
Declaration
public Action<TProperty?> Setter { get; }
  Property Value
| Type | Description | 
|---|---|
| Action<TProperty> | 
ValueType
Gets the type of the value this data binding registration points to
Declaration
public Type ValueType { get; }
  Property Value
| Type | Description | 
|---|---|
| Type | 
Methods
GetValue()
Gets the value of the property this registration points to
Declaration
public object? GetValue()
  Returns
| Type | Description | 
|---|---|
| object | A value matching the type of ValueType  | 
      
SetValue(object)
Sets the value of the property this registration points to
Declaration
public void SetValue(object value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | value | A value matching the type of ValueType  |