Example #1
0
        private IHttpService CreateHttpService()
        {
            var parameters = new HttpServiceParametersDTO
            {
                BoxUrl = this._dependencies.Config.BoxUrl
            };
            var optional = new OptionalHttpServiceParametersDTO
            {
                Password = this.Password,
                Username = this.Username
            };
            var svc = new HttpService(parameters, optional);

            return(svc);
        }
Example #2
0
 public MefHttpService(HttpServiceParametersDTO parameters,
                       OptionalHttpServiceParametersDTO optional)
     : base(parameters, optional)
 {
 }