public void Set(ActivityContext context, T value) { if (context == null) { throw FxTrace.Exception.ArgumentNull("context"); } context.SetValue <T>((InArgument <T>) this, value); }
public void Set(ActivityContext context, object value) { if (context == null) { throw FxTrace.Exception.ArgumentNull("context"); } context.SetValue <object>((LocationReference)this, value); }
public void Set(ActivityContext context, object value) { if (context == null) { throw FxTrace.Exception.ArgumentNull("context"); } this.ThrowIfNotInTree(); context.SetValue <object>(this.RuntimeArgument, value); }
public void Set(ActivityContext context, T value) { if (context == null) { throw FxTrace.Exception.ArgumentNull("context"); } base.ThrowIfNotInTree(); context.SetValue <T>((OutArgument <T>) this, value); }
public void Set(ActivityContext context, object value) { context.SetValue(this, value); }
/// <summary> /// Sets the specified context. /// </summary> /// <param name="context">The context.</param> /// <param name="value">The value.</param> public void Set(ActivityContext?context, object value) => context?.SetValue(this, value);