public object GetValue(Argument argument)
 {
     this.ThrowIfDisposed();
     if (argument == null)
     {
         throw FxTrace.Exception.ArgumentNull("argument");
     }
     argument.ThrowIfNotInTree();
     return(this.GetValueCore <object>(argument.RuntimeArgument));
 }
 public void SetValue(Argument argument, object value)
 {
     this.ThrowIfDisposed();
     if (argument == null)
     {
         throw FxTrace.Exception.ArgumentNull("argument");
     }
     argument.ThrowIfNotInTree();
     this.SetValueCore <object>(argument.RuntimeArgument, value);
 }
Пример #3
0
        public void SetValue(Argument argument, object value)
        {
            ThrowIfDisposed();

            if (argument == null)
            {
                throw FxTrace.Exception.ArgumentNull(nameof(argument));
            }

            argument.ThrowIfNotInTree();

            SetValueCore(argument.RuntimeArgument, value);
        }