mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Nodes - Moved models and node logic into core Nodes - Added node service that leverages DI
23 lines
439 B
C#
23 lines
439 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Artemis.Core
|
|
{
|
|
public interface IPin
|
|
{
|
|
INode Node { get; }
|
|
|
|
string Name { get; }
|
|
PinDirection Direction { get; }
|
|
Type Type { get; }
|
|
object PinValue { get; }
|
|
|
|
IReadOnlyList<IPin> ConnectedTo { get; }
|
|
|
|
bool IsEvaluated { get; set; }
|
|
|
|
void ConnectTo(IPin pin);
|
|
void DisconnectFrom(IPin pin);
|
|
}
|
|
}
|