1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.Core/VisualScripting/CustomNodeViewModel.cs
Robert 7933bf7ee9 Nodes - Added to float node
Nodes - Updated almost all custom VMs to stay in sync across multiple instances
2021-08-22 00:56:23 +02:00

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();
}
}