public RequestProcessor Build(ClientStateModel stateModel)
 {
     return(new RequestProcessor(this.SymmetricCryptoProvider, this.HttpContentProcessor, stateModel)
     {
         NeedEncryption = this.NeedEncryption
     });
 }
示例#2
0
 public RequestProcessor(ISymmetricCryptoProvider symmetricCryptoProvider, IHttpContentProcessor httpContentService, ClientStateModel clientState)
 {
     this.SymmetricCryptoProvider = symmetricCryptoProvider;
     this.HttpContentProcessor    = httpContentService;
     this.ClientState             = clientState;
 }