Class TableContentSetMethodBindingConverter
- Namespace
- ReactiveUI.Winforms
- Assembly
- ReactiveUI.Winforms.dll
A binding set converter which will convert from a Table.
public class TableContentSetMethodBindingConverter : ISetMethodBindingConverter, IEnableLogger
- Inheritance
-
TableContentSetMethodBindingConverter
- Implements
- Extension Methods
Constructors
TableContentSetMethodBindingConverter()
public TableContentSetMethodBindingConverter()
Methods
GetAffinityForObjects(Type?, Type?)
Returns a positive integer when this class supports PerformSet for this particular Type. If the method isn't supported at all, return a non-positive integer. When multiple implementations return a positive value, the host will use the one which returns the highest value. When in doubt, return '2' or '0'.
public int GetAffinityForObjects(Type? fromType, Type? toType)
Parameters
Returns
- int
A positive integer if PerformSet is supported, zero or a negative value otherwise.
PerformSet(object?, object?, object?[]?)
Convert a given object to the specified type.
public object PerformSet(object? toTarget, object? newValue, object?[]? arguments)
Parameters
toTarget
objectThe target object we are setting to.
newValue
objectThe value to set on the new object.
arguments
object[]The arguments required. Used for indexer based values.
Returns
- object
The value that was set.