Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
breaking: remove deprecated targets (#3584)
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
- Loading branch information
1 parent
a68adcb
commit becafc9
Showing
9 changed files
with
1,197 additions
and
729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
1,018 changes: 1,018 additions & 0 deletions
1,018
src/ReactiveUI.Tests/API/ApiApprovalTests.ReactiveUI.DotNet7_0.verified.txt
Large diffs are not rendered by default.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
src/ReactiveUI.Tests/API/ApiApprovalTests.Testing.DotNet7_0.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName=".NET 7.0")] | ||
namespace ReactiveUI.Testing | ||
{ | ||
public interface IBuilder { } | ||
public static class IBuilderExtensions | ||
{ | ||
public static TBuilder With<TBuilder, TField>(this TBuilder builder, ref System.Collections.Generic.List<TField>? field, System.Collections.Generic.IEnumerable<TField> values) | ||
where TBuilder : ReactiveUI.Testing.IBuilder { } | ||
public static TBuilder With<TBuilder, TField>(this TBuilder builder, ref System.Collections.Generic.List<TField>? field, TField value) | ||
where TBuilder : ReactiveUI.Testing.IBuilder { } | ||
public static TBuilder With<TBuilder, TField>(this TBuilder builder, out TField field, TField value) | ||
where TBuilder : ReactiveUI.Testing.IBuilder { } | ||
public static TBuilder With<TBuilder, TKey, TField>(this TBuilder builder, ref System.Collections.Generic.Dictionary<TKey, TField> dictionary, System.Collections.Generic.IDictionary<TKey, TField> keyValuePair) | ||
where TKey : notnull { } | ||
public static TBuilder With<TBuilder, TKey, TField>(this TBuilder builder, ref System.Collections.Generic.Dictionary<TKey, TField> dictionary, System.Collections.Generic.KeyValuePair<TKey, TField> keyValuePair) | ||
where TBuilder : ReactiveUI.Testing.IBuilder | ||
where TKey : notnull { } | ||
public static TBuilder With<TBuilder, TKey, TField>(this TBuilder builder, ref System.Collections.Generic.Dictionary<TKey, TField> dictionary, TKey key, TField value) | ||
where TBuilder : ReactiveUI.Testing.IBuilder | ||
where TKey : notnull { } | ||
} | ||
public static class MessageBusExtensions | ||
{ | ||
public static void With(this ReactiveUI.IMessageBus messageBus, System.Action block) { } | ||
public static TRet With<TRet>(this ReactiveUI.IMessageBus messageBus, System.Func<TRet> block) { } | ||
public static System.IDisposable WithMessageBus(this ReactiveUI.IMessageBus messageBus) { } | ||
} | ||
public static class SchedulerExtensions | ||
{ | ||
public static void AdvanceByMs(this Microsoft.Reactive.Testing.TestScheduler scheduler, double milliseconds) { } | ||
public static void AdvanceToMs(this Microsoft.Reactive.Testing.TestScheduler scheduler, double milliseconds) { } | ||
public static long FromTimeSpan(this Microsoft.Reactive.Testing.TestScheduler scheduler, System.TimeSpan span) { } | ||
public static Microsoft.Reactive.Testing.Recorded<System.Reactive.Notification<T>> OnCompletedAt<T>(this Microsoft.Reactive.Testing.TestScheduler scheduler, double milliseconds) { } | ||
public static Microsoft.Reactive.Testing.Recorded<System.Reactive.Notification<T>> OnErrorAt<T>(this Microsoft.Reactive.Testing.TestScheduler scheduler, double milliseconds, System.Exception ex) { } | ||
public static Microsoft.Reactive.Testing.Recorded<System.Reactive.Notification<T>> OnNextAt<T>(this Microsoft.Reactive.Testing.TestScheduler scheduler, double milliseconds, T value) { } | ||
public static void With<T>(this T scheduler, System.Action<T> block) | ||
where T : System.Reactive.Concurrency.IScheduler { } | ||
public static TRet With<T, TRet>(this T scheduler, System.Func<T, TRet> block) | ||
where T : System.Reactive.Concurrency.IScheduler { } | ||
public static System.Threading.Tasks.Task WithAsync<T>(this T scheduler, System.Func<T, System.Threading.Tasks.Task> block) | ||
where T : System.Reactive.Concurrency.IScheduler { } | ||
public static System.Threading.Tasks.Task<TRet> WithAsync<T, TRet>(this T scheduler, System.Func<T, System.Threading.Tasks.Task<TRet>> block) | ||
where T : System.Reactive.Concurrency.IScheduler { } | ||
public static System.IDisposable WithScheduler(System.Reactive.Concurrency.IScheduler scheduler) { } | ||
} | ||
} |
111 changes: 111 additions & 0 deletions
111
...eUI.Tests/Platforms/winforms/API/WinformsApiApprovalTests.Winforms.DotNet7_0.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows10.0.17763.0")] | ||
[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName=".NET 7.0")] | ||
[assembly: System.Runtime.Versioning.TargetPlatform("Windows10.0.17763.0")] | ||
namespace ReactiveUI.Winforms | ||
{ | ||
public class ActivationForViewFetcher : ReactiveUI.IActivationForViewFetcher, Splat.IEnableLogger | ||
{ | ||
public ActivationForViewFetcher() { } | ||
public System.IObservable<bool> GetActivationForView(ReactiveUI.IActivatableView view) { } | ||
public int GetAffinityForView(System.Type view) { } | ||
} | ||
public class ContentControlBindingHook : ReactiveUI.IPropertyBindingHook | ||
{ | ||
public ContentControlBindingHook() { } | ||
public bool ExecuteHook(object? source, object target, System.Func<ReactiveUI.IObservedChange<object, object>[]> getCurrentViewModelProperties, System.Func<ReactiveUI.IObservedChange<object, object>[]> getCurrentViewProperties, ReactiveUI.BindingDirection direction) { } | ||
} | ||
public class CreatesWinformsCommandBinding : ReactiveUI.ICreatesCommandBinding | ||
{ | ||
public CreatesWinformsCommandBinding() { } | ||
public System.IDisposable? BindCommandToObject(System.Windows.Input.ICommand? command, object? target, System.IObservable<object?> commandParameter) { } | ||
public System.IDisposable? BindCommandToObject<TEventArgs>(System.Windows.Input.ICommand? command, object? target, System.IObservable<object?> commandParameter, string eventName) { } | ||
public int GetAffinityForObject(System.Type type, bool hasEventTarget) { } | ||
} | ||
public class PanelSetMethodBindingConverter : ReactiveUI.ISetMethodBindingConverter, Splat.IEnableLogger | ||
{ | ||
public PanelSetMethodBindingConverter() { } | ||
public int GetAffinityForObjects(System.Type? fromType, System.Type? toType) { } | ||
public object PerformSet(object? toTarget, object? newValue, object?[]? arguments) { } | ||
} | ||
public class PlatformOperations : ReactiveUI.IPlatformOperations | ||
{ | ||
public PlatformOperations() { } | ||
public string? GetOrientation() { } | ||
} | ||
public class ReactiveUserControl<TViewModel> : System.Windows.Forms.UserControl, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel> | ||
where TViewModel : class | ||
{ | ||
public ReactiveUserControl() { } | ||
[System.ComponentModel.Bindable(true)] | ||
[System.ComponentModel.Category("ReactiveUI")] | ||
[System.ComponentModel.Description("The ViewModel.")] | ||
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] | ||
public TViewModel ViewModel { get; set; } | ||
protected override void Dispose(bool disposing) { } | ||
} | ||
public class Registrations | ||
{ | ||
public Registrations() { } | ||
public void Register(System.Action<System.Func<object>, System.Type> registerFunction) { } | ||
} | ||
[System.ComponentModel.DefaultProperty("ViewModel")] | ||
public class RoutedControlHost : System.Windows.Forms.UserControl, ReactiveUI.IReactiveObject, Splat.IEnableLogger, System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging | ||
{ | ||
public RoutedControlHost() { } | ||
[System.ComponentModel.Category("ReactiveUI")] | ||
[System.ComponentModel.Description("The default control when no viewmodel is specified")] | ||
public System.Windows.Forms.Control? DefaultContent { get; set; } | ||
[System.ComponentModel.Category("ReactiveUI")] | ||
[System.ComponentModel.Description("The router.")] | ||
public ReactiveUI.RoutingState? Router { get; set; } | ||
[System.ComponentModel.Browsable(false)] | ||
public System.IObservable<string>? ViewContractObservable { get; set; } | ||
[System.ComponentModel.Browsable(false)] | ||
public ReactiveUI.IViewLocator? ViewLocator { get; set; } | ||
public event System.ComponentModel.PropertyChangedEventHandler? PropertyChanged; | ||
public event System.ComponentModel.PropertyChangingEventHandler? PropertyChanging; | ||
protected override void Dispose(bool disposing) { } | ||
} | ||
public class TableContentSetMethodBindingConverter : ReactiveUI.ISetMethodBindingConverter, Splat.IEnableLogger | ||
{ | ||
public TableContentSetMethodBindingConverter() { } | ||
public int GetAffinityForObjects(System.Type? fromType, System.Type? toType) { } | ||
public object PerformSet(object? toTarget, object? newValue, object?[]? arguments) { } | ||
} | ||
[System.ComponentModel.DefaultProperty("ViewModel")] | ||
public class ViewModelControlHost : System.Windows.Forms.UserControl, ReactiveUI.IActivatableView, ReactiveUI.IReactiveObject, ReactiveUI.IViewFor, Splat.IEnableLogger, System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging | ||
{ | ||
public ViewModelControlHost() { } | ||
[System.ComponentModel.Bindable(true)] | ||
[System.ComponentModel.Category("ReactiveUI")] | ||
[System.ComponentModel.DefaultValue(true)] | ||
[System.ComponentModel.Description("Cache Views")] | ||
public bool CacheViews { get; set; } | ||
[System.ComponentModel.Bindable(true)] | ||
[System.ComponentModel.Category("ReactiveUI")] | ||
[System.ComponentModel.Description("The Current View")] | ||
public object? Content { get; set; } | ||
public System.Windows.Forms.Control? CurrentView { get; } | ||
[System.ComponentModel.Category("ReactiveUI")] | ||
[System.ComponentModel.Description("The default control when no viewmodel is specified")] | ||
public System.Windows.Forms.Control? DefaultContent { get; set; } | ||
[System.ComponentModel.Browsable(false)] | ||
public System.IObservable<string>? ViewContractObservable { get; set; } | ||
[System.ComponentModel.Browsable(false)] | ||
public ReactiveUI.IViewLocator? ViewLocator { get; set; } | ||
[System.ComponentModel.Bindable(true)] | ||
[System.ComponentModel.Category("ReactiveUI")] | ||
[System.ComponentModel.Description("The viewmodel to host.")] | ||
public object? ViewModel { get; set; } | ||
public static bool DefaultCacheViewsEnabled { get; set; } | ||
public event System.ComponentModel.PropertyChangedEventHandler? PropertyChanged; | ||
public event System.ComponentModel.PropertyChangingEventHandler? PropertyChanging; | ||
protected override void Dispose(bool disposing) { } | ||
} | ||
public class WinformsCreatesObservableForProperty : ReactiveUI.ICreatesObservableForProperty, Splat.IEnableLogger | ||
{ | ||
public WinformsCreatesObservableForProperty() { } | ||
public int GetAffinityForObject(System.Type type, string propertyName, bool beforeChanged = false) { } | ||
public System.IObservable<ReactiveUI.IObservedChange<object, object?>> GetNotificationForProperty(object sender, System.Linq.Expressions.Expression expression, string propertyName, bool beforeChanged = false, bool suppressWarnings = false) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters