/// <summary> /// Add a request. /// </summary> /// <param name="startRequest"></param> /// <returns></returns> public Site AddStartRequest(Request startRequest) { lock (this) { StartRequests.Add(startRequest); return(this); } }
/// <summary> /// Add a request. /// </summary> /// <param name="startRequest"></param> /// <returns></returns> public Site AddStartRequest(Request startRequest) { lock (this) { StartRequests.Add(startRequest); if (Domain == null) { Domain = startRequest.Url.Host; } return(this); } }