Esempio n. 1
0
        /// <summary>
        /// 手动触发更新源,twoWay 通道2
        /// </summary>
        internal virtual void UpdateSource()
        {
            var newValue = TargetPath.GetValue(Target);

            if (SourcePath == null)
            {
                source = newValue;
            }
            else
            {
                SourcePath.SetValue(GetConvertValue(newValue, true));
            }
        }