Files
ProxyGenerator/src-examples/ProxyInterfaceConsumer/Http/IHttpClient.cs
T
Adam Hathcock 6391515c19 More options (#5)
* update generator and tests

* Add ImplementationOptions

* option tests

* fix some tests

* UseExtendedInterfaces with flag enum parsing

* add test for using base interfaces instead of interface

* add ProxyForBaseInterface

* add extra overload

* don't put new if we're replacing interfaces

* really remove AutoMapper

* remove akka and fix up interface

* Bigger bump for version

* adjust readme
2024-05-24 13:16:14 +01:00

11 lines
357 B
C#

using System.Net.Http;
using Speckle.ProxyGenerator;
namespace ProxyInterfaceConsumer.Http;
[Speckle.ProxyGenerator.Proxy(typeof(HttpClient), ImplementationOptions.ProxyBaseClasses)]
public partial interface IHttpClient : IHttpMessageInvoker { }
[Speckle.ProxyGenerator.Proxy(typeof(HttpMessageInvoker))]
public partial interface IHttpMessageInvoker { }