/// <summary> /// Makes the parameter aware of the <see cref="IHaveParameters"/> that it is attached to. /// </summary> /// <param name="owner">The owner of the parameter.</param> public void MakeAwareOf(IHaveParameters owner) { _owner = (owner != null) ? new WeakReference(owner) : null; }
/// <summary> /// Makes the parameter aware of the <see cref="IHaveParameters"/> that it is attached to. /// </summary> /// <param name="owner">The owner of the parameter.</param> public void MakeAwareOf(IHaveParameters owner) { WritePreamble(); _owner = (owner != null) ? new WeakReference(owner) : null; WritePostscript(); }