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