restsharp/RestSharp — pull request #311 by Haacked (2012-08-10 04:27:20+00:00)
Title: Change AddDefaultParameter methods to be extension methods

The `AddDefaultParameter` methods of `RestClient` don't need access to any private members or fields. They only need access to the `DefaultParameters` which is defined on `IRestClient`.

By turning these into extension methods, the `IRestClient` interface is easier to implement and all implementations of `IRestClient` get the benefit of these methods, not just `RestClient`.