示例#1
0
文件: Node.cs 项目: misupov/Turbina
        public object GetValue(IPin pin)
        {
            if (Dispatcher == null)
            {
                return pin.GetValue();
            }

            return Dispatcher.Invoke(() => pin.GetValue());
        }
示例#2
0
        public object GetValue(IPin pin)
        {
            if (Dispatcher == null)
            {
                return(pin.GetValue());
            }

            return(Dispatcher.Invoke(() => pin.GetValue()));
        }