Skip to content

ConverterMigrationHelper class

Defined in

Namespace: ReactiveUI.Binding Assembly: ReactiveUI.Binding.dll Full name: ReactiveUI.Binding.ConverterMigrationHelper Modifiers: public static

Summary

View source

Provides helper methods for migrating converters from Splat to the new ConverterService.

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Remarks

This class assists with migrating from the legacy Splat-based converter registration to the new ConverterService-based system.

Examples

Example: Direct import into existing service

var converterService = BindingConverters.Current;
 converterService.ImportFrom(Splat.Locator.Current);

Methods

NameSummary
static ExtractConvertersExtracts all converters from a Splat dependency resolver.
static ImportFromImports converters from a Splat resolver directly into a [ConverterService](#
Inherited members