Example #1
0
 public Request UsingAuthenticator(INWXAuthenticator authenticator)
 {
     _authenticator = authenticator;
     return this;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Request"/> class.  For internal use.
 /// </summary>
 /// <param name="serializer">The serializer.</param>
 /// <param name="handler">The handler.</param>
 /// <param name="authenticator">The authentication method, if any.</param>
 public Request(INWXSerializer serializer, INWXCommunicationHandler handler, INWXAuthenticator authenticator)
 {
     _serializer = serializer;
     _communicationHandler = handler;
     _authenticator = authenticator;
 }