private void CopyFrom(WebTest newTestInstance) { this._invoker = newTestInstance._invoker; this._request = newTestInstance._request; this._response = newTestInstance._response; this._userData = newTestInstance._userData; }
/// <summary> /// Create a new instance, initializing <see cref="Invoker"/> with the given /// value, and the <see cref="Request"/> with <see cref="BaseRequest"/>. /// </summary> /// <param name="invoker">The invoker used for this test.</param> /// <seealso cref="Invoker"/> /// <seealso cref="Request"/> /// <seealso cref="BaseRequest"/> public WebTest (BaseInvoker invoker) : this () { Invoker = invoker; }
/// <summary> /// Default constructor. Initializes <see cref="Invoker"/> with a new /// <see cref="BaseInvoker"/> and <see cref="Request"/> with an empty /// <see cref="BaseRequest"/>. /// </summary> /// <seealso cref="Invoker"/> /// <seealso cref="BaseInvoker"/> /// <seealso cref="Request"/> /// <seealso cref="BaseRequest"/> public WebTest () { Invoker = new BaseInvoker (); Request = new BaseRequest (); }
private void CopyFrom (WebTest newTestInstance) { this._invoker = newTestInstance._invoker; this._request = newTestInstance._request; this._response = newTestInstance._response; this._userData = newTestInstance._userData; }
/// <summary> /// Create a new instance, initializing <see cref="Invoker"/> with the given /// value, and the <see cref="Request"/> with <see cref="BaseRequest"/>. /// </summary> /// <param name="invoker">The invoker used for this test.</param> /// <seealso cref="Invoker"/> /// <seealso cref="Request"/> /// <seealso cref="BaseRequest"/> public WebTest(BaseInvoker invoker) : this() { Invoker = invoker; }
/// <summary> /// Default constructor. Initializes <see cref="Invoker"/> with a new /// <see cref="BaseInvoker"/> and <see cref="Request"/> with an empty /// <see cref="BaseRequest"/>. /// </summary> /// <seealso cref="Invoker"/> /// <seealso cref="BaseInvoker"/> /// <seealso cref="Request"/> /// <seealso cref="BaseRequest"/> public WebTest() { Invoker = new BaseInvoker(); Request = new BaseRequest(); }