Example #1
0
        public T Get <T>(DataPort <T> port)
        {
            if (Data.TryGetValue(port.Id, out object value))
            {
                return((T)value);
            }

            return(default);
Example #2
0
 public void Link <TValue>(DataPort <TValue> outPort, DataPort <TValue> inPort)
 {
     inPort.Node.Link(outPort, inPort);
 }
Example #3
0
 public void Link <TValue>(DataPort <TValue> outPort, DataPort <TValue> inPort)
 {
     _dataConnections.Add(new DataConnection(inPort, outPort));
 }