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

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