Skip to content
Newer
Older
100644 16 lines (14 sloc) 209 Bytes
7729d48 @ayoung Tabified
ayoung authored Oct 28, 2011
1 namespace RestSharp
5acf8da @johnsheehan RestClient.IHttpFactory instead of RestClient.IHttp because Http is n…
johnsheehan authored Mar 25, 2011
2 {
3 public interface IHttpFactory
4 {
5 IHttp Create();
6 }
7
8 public class SimpleFactory<T> : IHttpFactory where T : IHttp, new()
9 {
10 public IHttp Create()
11 {
12 return new T();
13 }
14 }
15 }
Something went wrong with that request. Please try again.