Esempio n. 1
0
 /// <summary>
 /// Add a request.
 /// </summary>
 /// <param name="startRequest"></param>
 /// <returns></returns>
 public Site AddStartRequest(Request startRequest)
 {
     lock (this)
     {
         StartRequests.Add(startRequest);
         return(this);
     }
 }
Esempio n. 2
0
 /// <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);
     }
 }