Beispiel #1
0
        private OutputConnection <T> GetOrCreateOutputConnection <T> (int id)
        {
            if (id < 0)
            {
                return(null);
            }

            var shared = (OutputConnection <T>)connections[id];

            if (shared == null)
            {
                shared          = new OutputConnection <T> (id);
                connections[id] = shared;
            }
            return(shared);
        }
Beispiel #2
0
 public Output(OutputConnection <T> connection)
 {
     Connection = connection;
 }