Permalink
c0958f1 Aug 16, 2015
@johnsheehan @ayoung
18 lines (16 sloc) 269 Bytes
namespace RestSharp
{
public interface IHttpFactory
{
IHttp Create();
}
public class SimpleFactory<T> : IHttpFactory
where T : IHttp, new()
{
public IHttp Create()
{
return new T();
}
}
}