コード例 #1
0
ファイル: HttpHandler.cs プロジェクト: bnathyuw/nonae
 protected HttpHandler(IAuthenticationProvider authenticationProvider)
 {
     _handler = HandlerFactory.Build();
     _endpointStore = new EndpointStore();
     _credentialsBuilder = new CredentialsBuilder(authenticationProvider);
 }
コード例 #2
0
 public void SetUp()
 {
     _authenticationProvider = MockRepository.GenerateStub<IAuthenticationProvider>();
     _credentialsBuilder = new CredentialsBuilder(_authenticationProvider);
     _encodedCredentials = Encode(Username, Password);
 }