예제 #1
0
파일: Request.cs 프로젝트: leon737/nwxnet
 public Request UsingAuthenticator(INWXAuthenticator authenticator)
 {
     _authenticator = authenticator;
     return this;
 }
예제 #2
0
파일: Request.cs 프로젝트: leon737/nwxnet
 /// <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;
 }