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

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