Skip to content
Permalink
Browse files

fix: the WPF designer by removing abstract (#2180)

* fix: the WPF designer by removing abstract

* fixed api approval tests
  • Loading branch information...
glennawatson authored and RLittlesII committed Sep 26, 2019
1 parent 9a19504 commit e77e1e50a9809217604b3ae7c131d50999f5ad3c
@@ -44,27 +44,27 @@ namespace ReactiveUI
public PlatformOperations() { }
public string GetOrientation() { }
}
public abstract class ReactivePage<TViewModel> : System.Windows.Controls.Page, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
public class ReactivePage<TViewModel> : System.Windows.Controls.Page, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
where TViewModel : class
{
public static readonly System.Windows.DependencyProperty ViewModelProperty;
protected ReactivePage() { }
public ReactivePage() { }
public TViewModel BindingRoot { get; }
public TViewModel ViewModel { get; set; }
}
public abstract class ReactiveUserControl<TViewModel> : System.Windows.Controls.UserControl, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
public class ReactiveUserControl<TViewModel> : System.Windows.Controls.UserControl, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
where TViewModel : class
{
public static readonly System.Windows.DependencyProperty ViewModelProperty;
protected ReactiveUserControl() { }
public ReactiveUserControl() { }
public TViewModel BindingRoot { get; }
public TViewModel ViewModel { get; set; }
}
public abstract class ReactiveWindow<TViewModel> : System.Windows.Window, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
public class ReactiveWindow<TViewModel> : System.Windows.Window, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
where TViewModel : class
{
public static readonly System.Windows.DependencyProperty ViewModelProperty;
protected ReactiveWindow() { }
public ReactiveWindow() { }
public TViewModel BindingRoot { get; }
public TViewModel ViewModel { get; set; }
}
@@ -44,27 +44,27 @@ namespace ReactiveUI
public PlatformOperations() { }
public string GetOrientation() { }
}
public abstract class ReactivePage<TViewModel> : System.Windows.Controls.Page, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
public class ReactivePage<TViewModel> : System.Windows.Controls.Page, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
where TViewModel : class
{
public static readonly System.Windows.DependencyProperty ViewModelProperty;
protected ReactivePage() { }
public ReactivePage() { }
public TViewModel BindingRoot { get; }
public TViewModel ViewModel { get; set; }
}
public abstract class ReactiveUserControl<TViewModel> : System.Windows.Controls.UserControl, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
public class ReactiveUserControl<TViewModel> : System.Windows.Controls.UserControl, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
where TViewModel : class
{
public static readonly System.Windows.DependencyProperty ViewModelProperty;
protected ReactiveUserControl() { }
public ReactiveUserControl() { }
public TViewModel BindingRoot { get; }
public TViewModel ViewModel { get; set; }
}
public abstract class ReactiveWindow<TViewModel> : System.Windows.Window, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
public class ReactiveWindow<TViewModel> : System.Windows.Window, ReactiveUI.IActivatableView, ReactiveUI.IViewFor, ReactiveUI.IViewFor<TViewModel>
where TViewModel : class
{
public static readonly System.Windows.DependencyProperty ViewModelProperty;
protected ReactiveWindow() { }
public ReactiveWindow() { }
public TViewModel BindingRoot { get; }
public TViewModel ViewModel { get; set; }
}
@@ -39,7 +39,7 @@ namespace ReactiveUI
/// <typeparam name="TViewModel">
/// The type of the view model backing the view.
/// </typeparam>
public abstract class ReactiveWindow<TViewModel> :
public class ReactiveWindow<TViewModel> :
Window, IViewFor<TViewModel>
where TViewModel : class
{
@@ -86,7 +86,7 @@ namespace ReactiveUI
[global::Foundation.Register]
#endif
[SuppressMessage("Design", "CA1010:Collections should implement generic interface", Justification = "Deliberate usage")]
public abstract
public
#if HAS_UNO
partial
#endif
@@ -86,7 +86,7 @@ namespace ReactiveUI
[global::Foundation.Register]
#endif
[SuppressMessage("Design", "CA1010:Collections should implement generic interface", Justification = "Deliberate usage")]
public abstract
public
#if HAS_UNO
partial
#endif

0 comments on commit e77e1e5

Please sign in to comment.
You can’t perform that action at this time.