diff --git a/source/UpbeatUI/ViewModel/IOpensUpbeatViewModels.cs b/source/UpbeatUI/ViewModel/IOpensUpbeatViewModels.cs
deleted file mode 100644
index 4e7a596..0000000
--- a/source/UpbeatUI/ViewModel/IOpensUpbeatViewModels.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-/* This file is part of the UpbeatUI project, which is released under MIT License.
- * See LICENSE.md or visit:
- * https://github.com/michaelpduda/upbeatui/blob/master/LICENSE.md
- */
-using System;
-using System.Threading.Tasks;
-
-namespace UpbeatUI.ViewModel
-{
- ///
- /// Provides mechanisms for adding ViewModels to an .
- ///
- [Obsolete("This interface has been renamed to IOpensViewModels and will be removed in UpbeatUI V3.0.")]
- public interface IOpensUpbeatViewModels : IOpensViewModels
-
- { }
-}
diff --git a/source/UpbeatUI/ViewModel/IOpensViewModels.cs b/source/UpbeatUI/ViewModel/IOpensViewModels.cs
index 848c669..f53ec8a 100644
--- a/source/UpbeatUI/ViewModel/IOpensViewModels.cs
+++ b/source/UpbeatUI/ViewModel/IOpensViewModels.cs
@@ -13,32 +13,6 @@ namespace UpbeatUI.ViewModel
public interface IOpensViewModels
{
- ///
- /// Adds a new ViewModel to the based on the provided.
- ///
- /// The type of the parameters used to create the ViewModel.
- /// The parameters used to create the ViewModel.
- [Obsolete("Renamed to OpenViewModelAsync. This method will be removed in UpbeatUI 3.0.")]
- void OpenUpbeatViewModel(TParameters parameters);
-
- ///
- /// Adds a new ViewModel to the based on the provided and executes a callback after that ViewModel closes.
- ///
- /// The type of the parameters used to create the ViewModel.
- /// The parameters used to create the ViewModel.
- /// A delegate for the to execute after the ViewModel closes.
- [Obsolete("Renamed to OpenViewModelAsync. This method will be removed in UpbeatUI 3.0.")]
- void OpenUpbeatViewModel(TParameters parameters, Action closedCallback);
-
- ///
- /// Adds a new ViewModel to the based on the provided and returns a that completes after the ViewModel closes.
- ///
- /// The type of the parameters used to create the ViewModel.
- /// The parameters used to create the ViewModel.
- /// A that represents the created ViewModel being open
- [Obsolete("Renamed to OpenViewModelAsync. This method will be removed in UpbeatUI 3.0.")]
- Task OpenUpbeatViewModelAsync(TParameters parameters);
-
///
/// Adds a new ViewModel to the based on the provided.
///
diff --git a/source/UpbeatUI/ViewModel/IUpbeatService.cs b/source/UpbeatUI/ViewModel/IUpbeatService.cs
index 74b3750..3f66e35 100644
--- a/source/UpbeatUI/ViewModel/IUpbeatService.cs
+++ b/source/UpbeatUI/ViewModel/IUpbeatService.cs
@@ -11,13 +11,11 @@ namespace UpbeatUI.ViewModel
///
/// Provides methods for a ViewModel to interact with the that it is a part of. instancess are created by the unique to each ViewModel, so do not share them.
///
- public interface IUpbeatService : IOpensViewModels, IOpensUpbeatViewModels
+ public interface IUpbeatService : IOpensViewModels
{
///
/// Gets whether or not the ViewModel is the top item in the , and thus active for the user.
///
- [Obsolete("Renamed to IsActiveViewModel. This property will be removed in UpbeatUI 3.0.")]
- bool IsActiveUpbeatViewModel { get; }
bool IsActiveViewModel { get; }
///
/// Gets whether or not the parent is configured to update ViewModels on each rendering event.
@@ -29,20 +27,6 @@ public interface IUpbeatService : IOpensViewModels, IOpensUpbeatViewModels
///
void Close();
- ///
- /// Gets the current string contents of the clipboard. This is a convenience method for assemblies that do not want to reference .
- ///
- /// The current contents of the clipboard.
- [Obsolete("This will be removed in UpbeatUI 3.0. Use another injected service instead.")]
- string GetClipboard();
-
- ///
- /// Sets the string contents of the clipboard. This is a convenience method for assemblies that do not want to reference .
- ///
- /// What to set the clipboard to.
- [Obsolete("This will be removed in UpbeatUI 3.0. Use another injected service instead.")]
- void SetClipboard(string text);
-
///
/// Sets the delegate that the containing will call before closing this ViewModel (instead of closing it automatically). The delegate should return true if okay to close and false if the ViewModel needs to stay open.
///
diff --git a/source/UpbeatUI/ViewModel/IUpbeatViewModel.cs b/source/UpbeatUI/ViewModel/IUpbeatViewModel.cs
deleted file mode 100644
index 5f7fec5..0000000
--- a/source/UpbeatUI/ViewModel/IUpbeatViewModel.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-/* This file is part of the UpbeatUI project, which is released under MIT License.
- * See LICENSE.md or visit:
- * https://github.com/michaelpduda/upbeatui/blob/master/LICENSE.md
- */
-using System;
-using System.ComponentModel;
-
-namespace UpbeatUI.ViewModel
-{
- ///
- /// Defines functionality for a class that can be placed on an .
- ///
- [Obsolete("The SignalToClose method is being replaced with the IUpbeatService.SetCloseCallback method. The UpbeatStack will no longer require the IUpbeatViewModel interface and will automatically handle IDisposables. This IUpbeatViewModel interface will be removed in UpbeatUI 3.0.")]
- public interface IUpbeatViewModel : IDisposable, INotifyPropertyChanged
- {
- ///
- /// Signals to the that the user or another object would like it to close.
- ///
- /// A delegate that the can call when it is ready to close.
- [Obsolete("The SignalToClose method is being replaced with the IUpbeatService.SetCloseCallback method. This base UpbeatViewModel class will be removed in UpbeatUI 3.0.")]
- void SignalToClose(Action closeCallback);
- }
-}
diff --git a/source/UpbeatUI/ViewModel/IUpdatableViewModel.cs b/source/UpbeatUI/ViewModel/IUpdatableViewModel.cs
deleted file mode 100644
index 58ca7a4..0000000
--- a/source/UpbeatUI/ViewModel/IUpdatableViewModel.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-/* This file is part of the UpbeatUI project, which is released under MIT License.
- * See LICENSE.md or visit:
- * https://github.com/michaelpduda/upbeatui/blob/master/LICENSE.md
- */
-using System;
-
-namespace UpbeatUI.ViewModel
-{
- ///
- /// Defines functionality for ViewModels that need to be updated for each frame render.
- ///
- [Obsolete("The IUpbeatService.SetUpdateCallback is the preffered mechanism for configuring a ViewModel to update on each frame render, and this interface will be removed in UpbeatUI 3.0")]
- public interface IUpdatableViewModel
- {
- ///
- /// Signals that a new frame is being rendered so that the ViewModel can update its properties.
- ///
- [Obsolete("The IUpbeatService.SetUpdateCallback is the preffered mechanism for configuring a ViewModel to update on each frame render, and this interface will be removed in UpbeatUI 3.0")]
- void UpdateViewModelProperties();
- }
-}
diff --git a/source/UpbeatUI/ViewModel/UpbeatStack.UpbeatService.cs b/source/UpbeatUI/ViewModel/UpbeatStack.UpbeatService.cs
index 350543d..4ff14fe 100644
--- a/source/UpbeatUI/ViewModel/UpbeatStack.UpbeatService.cs
+++ b/source/UpbeatUI/ViewModel/UpbeatStack.UpbeatService.cs
@@ -4,7 +4,6 @@
*/
using System;
using System.Threading.Tasks;
-using System.Windows;
namespace UpbeatUI.ViewModel
{
@@ -26,8 +25,6 @@ internal UpbeatService(bool updatesOnRender, Action