Clipboard SetAudio


Node Information
Clears Clipboard and adds audio stream.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
SetAudio IN RUN MULTIPLE FALSE FALSE
Stream IN Stream ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Win32.Clipboard
{
    [IsNode("SetAudio")]
    public class SetAudio : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "SetAudio");
        Port stream = new Port(PortType.IN, typeof(System.IO.Stream), AcceptsLinks.ONE, "Stream");
        public SetAudio()
        {
            Name = "Clipboard SetAudio";
            AddPort(run);
            AddPort(stream);
            Information = "Clears Clipboard and adds audio stream.";
        }
        public override void UpdateResults()
        {
            run.Instructions = "Clipboard.SetAudio(" + GetValue(stream) + ");";
        }
    }
}