diff --git a/src-examples/ProxyInterfaceConsumer/Http/IHttpClient.cs b/src-examples/ProxyInterfaceConsumer/Http/IHttpClient.cs new file mode 100644 index 0000000..0f92b75 --- /dev/null +++ b/src-examples/ProxyInterfaceConsumer/Http/IHttpClient.cs @@ -0,0 +1,14 @@ +namespace ProxyInterfaceConsumer.Http +{ + [ProxyInterfaceGenerator.Proxy(typeof(System.Net.Http.HttpClient, true))] + public partial interface IHttpClient : IHttpMessageInvoker + { + + } + + [ProxyInterfaceGenerator.Proxy(typeof(System.Net.Http.HttpMessageInvoker))] + public partial interface IHttpMessageInvoker + { + + } +} \ No newline at end of file diff --git a/src-examples/ProxyInterfaceConsumer/ProxyInterfaceConsumer - Backup.csproj b/src-examples/ProxyInterfaceConsumer/ProxyInterfaceConsumer - Backup.csproj new file mode 100644 index 0000000..6e1a196 --- /dev/null +++ b/src-examples/ProxyInterfaceConsumer/ProxyInterfaceConsumer - Backup.csproj @@ -0,0 +1,33 @@ + + + + net7.0 + Exe + enable + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src-examples/ProxyInterfaceConsumer/ProxyInterfaceConsumer.csproj b/src-examples/ProxyInterfaceConsumer/ProxyInterfaceConsumer.csproj index 6ac3dcc..acaa276 100644 --- a/src-examples/ProxyInterfaceConsumer/ProxyInterfaceConsumer.csproj +++ b/src-examples/ProxyInterfaceConsumer/ProxyInterfaceConsumer.csproj @@ -20,6 +20,7 @@ +