Files
DP44/Common/DTS.CommonCore/Base/Interface/IBaseWindowModel.cs

67 lines
1.8 KiB
C#
Raw Normal View History

2026-04-17 14:55:32 -04:00
using System.ComponentModel;
using System.Threading.Tasks;
// ReSharper disable CheckNamespace
namespace DTS.Common.Base
{
public interface IBaseWindowModel : INotifyPropertyChanged
{
/// <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>
/// 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);
}
}