Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI.Reactive/PublicAPI/net10.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI.Reactive/PublicAPI/net11.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI.Reactive/PublicAPI/net462/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI.Reactive/PublicAPI/net472/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI.Reactive/PublicAPI/net481/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI.Reactive/PublicAPI/net8.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI.Reactive/PublicAPI/net9.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ namespace ReactiveUI.Reactive
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ namespace ReactiveUI.Reactive;
#else
namespace ReactiveUI;
#endif

/// <summary>
/// Fallback converter using System.ComponentModel.TypeDescriptor for reflection-based type conversion.
/// This converter is consulted only when no typed converter matches.
/// </summary>
/// <remarks>
/// This converter uses reflection and is not AOT-safe. It should be used as a last resort when no typed converter can
/// handle the conversion. The shared conversion logic lives in <see cref="ComponentModelConversion"/>. The
/// <see cref="PreserveAttribute"/> keeps the converter from being stripped by the mobile linker.
/// <see cref="PreserveAttribute"/> keeps the converter from being stripped by the mobile linker; it is ReactiveUI's
/// own attribute and is inert on the desktop targets, so one file serves every platform.
/// </remarks>
[Preserve(AllMembers = true)]
public sealed class ComponentModelFallbackConverter : IBindingFallbackConverter
Expand Down
42 changes: 0 additions & 42 deletions src/ReactiveUI/Platforms/net/ComponentModelFallbackConverter.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI/PublicAPI/net10.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI/PublicAPI/net11.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI/PublicAPI/net462/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI/PublicAPI/net472/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI/PublicAPI/net481/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI/PublicAPI/net8.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
1 change: 1 addition & 0 deletions src/ReactiveUI/PublicAPI/net9.0/PublicAPI.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ namespace ReactiveUI
public ReactiveUI.IReactiveBinding<TView, TProp> BindCommand<TViewModel, TProp, TControl, TParam>(TViewModel? viewModel, System.Linq.Expressions.Expression<System.Func<TViewModel, TProp?>> propertyName, System.Linq.Expressions.Expression<System.Func<TView, TControl>> controlName, System.Linq.Expressions.Expression<System.Func<TViewModel, TParam?>> withParameter, string? toEvent) where TViewModel : class where TProp : System.Windows.Input.ICommand where TControl : class { }
}
}
[ReactiveUI.Preserve(AllMembers=true)]
public sealed class ComponentModelFallbackConverter : ReactiveUI.IBindingFallbackConverter
{
public ComponentModelFallbackConverter() { }
Expand Down
Loading