Class TableContentSetMethodBindingConverter
- Namespace
- ReactiveUI.Winforms
- Assembly
- ReactiveUI.Winforms.dll
A binding set converter which will convert from a Table.
- Inheritance
-
Table
Content Set Method Binding Converter
- Implements
-
IEnable
Logger
- Extension Methods
Constructors
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'.
[RequiresDynamicCode("GetAffinityForObjects uses methods that require dynamic code generation")]
[RequiresUnreferencedCode("GetAffinityForObjects uses methods that may require unreferenced code")]
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.
Parameters
toTargetobjectThe target object we are setting to.
newValueobjectThe value to set on the new object.
argumentsobject[]The arguments required. Used for indexer based values.
Returns
- object
The value that was set.