示例#1
0
        /// <inheritdoc/>
        public void OnNext(object value)
        {
            var type = _inner.ResultType;

            if (type != null)
            {
                object converted;

                if (ConvertBack(value, type, out converted))
                {
                    _inner.SetValue(converted);
                }
            }
        }