73 lines
2.1 KiB
C#
73 lines
2.1 KiB
C#
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
// ReSharper disable CheckNamespace
|
|||
|
|
namespace DTS.Common.Base
|
|||
|
|
{
|
|||
|
|
public interface IBaseViewModel : IBasePropertyChanged
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets, sets the IsMenuIncluded status.
|
|||
|
|
/// </summary>
|
|||
|
|
bool IsMenuIncluded { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets, sets the IsNavigationIncluded status.
|
|||
|
|
/// </summary>
|
|||
|
|
bool IsNavigationIncluded { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets the IsBusy status.
|
|||
|
|
/// </summary>
|
|||
|
|
bool IsBusy { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// The Activated method.
|
|||
|
|
/// </summary>
|
|||
|
|
void Activated();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets the IsDirty status.
|
|||
|
|
/// </summary>
|
|||
|
|
bool IsDirty { get; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// The Cleanup method.
|
|||
|
|
/// </summary>
|
|||
|
|
void Cleanup();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Starts the cleanup process asynchronously.
|
|||
|
|
/// </summary>
|
|||
|
|
Task CleanupAsync();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// The Initialize method.
|
|||
|
|
/// </summary>
|
|||
|
|
void Initialize();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// The Initialize method.
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="parameter">The parameter to initialize the viewmodel.</param>
|
|||
|
|
void Initialize(object parameter);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// The Initialize method.
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="parameter">The parameter to initialize the viewmodel.</param>
|
|||
|
|
/// <param name="model">Another parameter to initialize the viewmodel.</param>
|
|||
|
|
void Initialize(object parameter, object model);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Starts the initialization process asynchronously.
|
|||
|
|
/// </summary>
|
|||
|
|
Task InitializeAsync();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Starts the initialization process asynchronously.
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="parameter">The parameter to initialize the viewmodel.</param>
|
|||
|
|
Task InitializeAsync(object parameter);
|
|||
|
|
}
|
|||
|
|
}
|