mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
23 lines
606 B
C#
23 lines
606 B
C#
namespace Artemis.Core
|
|
{
|
|
/// <summary>
|
|
/// Represents a custom view model for a <see cref="INode" />
|
|
/// </summary>
|
|
public interface ICustomNodeViewModel
|
|
{
|
|
/// <summary>
|
|
/// Gets the node the view models belongs to
|
|
/// </summary>
|
|
public INode Node { get; }
|
|
|
|
/// <summary>
|
|
/// Called whenever the custom view model is activated
|
|
/// </summary>
|
|
void OnActivate();
|
|
|
|
/// <summary>
|
|
/// Called whenever the custom view model is closed
|
|
/// </summary>
|
|
void OnDeactivate();
|
|
}
|
|
} |