Skip to content

Commit d3215ea

Browse files
authored
add sponsor (#90)
1 parent 2fc39eb commit d3215ea

File tree

4 files changed

+36
-7
lines changed

4 files changed

+36
-7
lines changed

PackageReadme.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
# Usage
1+
## ProxyInterfaceGenerator
2+
This project uses Source Generation to generate an interface and a Proxy class for classes.
3+
This makes it possible to wrap external classes which do not have an interface, in a Proxy class which makes it easier to Mock and use DI.
4+
5+
It supports:
6+
- properties
7+
- methods
8+
- events
9+
- implicit and explicit operators
10+
11+
12+
### Info
213

314
**Given: an external existing class which does not implement an interface**
415
``` c#
@@ -60,9 +71,18 @@ public class PersonProxy : IPerson
6071
}
6172
```
6273

63-
## Use it
74+
### Use it
6475
``` c#
6576
IPerson p = new PersonProxy(new Person());
6677
p.Name = "test";
6778
p.HelloWorld("stef");
68-
```
79+
```
80+
81+
82+
### Sponsors
83+
84+
[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=StefH) and [Dapper Plus](https://dapper-plus.net/?utm_source=StefH) are major sponsors and proud to contribute to the development of **ProxyInterfaceSourceGenerator**.
85+
86+
[![Entity Framework Extensions](https://raw.githubusercontent.com/StefH/resources/main/sponsor/entity-framework-extensions-sponsor.png)](https://entityframework-extensions.net/bulk-insert?utm_source=StefH)
87+
88+
[![Dapper Plus](https://raw.githubusercontent.com/StefH/resources/main/sponsor/dapper-plus-sponsor.png)](https://dapper-plus.net/bulk-insert?utm_source=StefH)

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ProxyInterfaceGenerator
1+
# ![icon](./resources/icon_32x32.png) ProxyInterfaceGenerator
22
This project uses Source Generation to generate an interface and a Proxy class for classes.
33
This makes it possible to wrap external classes which do not have an interface, in a Proxy class which makes it easier to Mock and use DI.
44

@@ -8,7 +8,7 @@ It supports:
88
- events
99
- implicit and explicit operators
1010

11-
## NuGet
11+
## 📦 NuGet
1212
[![NuGet Badge](https://img.shields.io/nuget/v/ProxyInterfaceGenerator)](https://www.nuget.org/packages/ProxyInterfaceGenerator)
1313

1414
## Usage
@@ -136,5 +136,14 @@ public partial interface IAddress
136136
}
137137
```
138138

139-
# References
139+
## 📚 References
140140
- https://route2roslyn.netlify.app/symbols-for-dummies/
141+
142+
143+
## Sponsors
144+
145+
[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=StefH) and [Dapper Plus](https://dapper-plus.net/?utm_source=StefH) are major sponsors and proud to contribute to the development of **ProxyInterfaceSourceGenerator**.
146+
147+
[![Entity Framework Extensions](https://raw.githubusercontent.com/StefH/resources/main/sponsor/entity-framework-extensions-sponsor.png)](https://entityframework-extensions.net/bulk-insert?utm_source=StefH)
148+
149+
[![Dapper Plus](https://raw.githubusercontent.com/StefH/resources/main/sponsor/dapper-plus-sponsor.png)](https://dapper-plus.net/bulk-insert?utm_source=StefH)

resources/icon_32x32.png

1.76 KB
Loading

src/ProxyInterfaceSourceGenerator/ProxyInterfaceSourceGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.9.0</Version>
4+
<Version>0.9.0.1</Version>
55
<TargetFramework>netstandard2.0</TargetFramework>
66
<ProjectGuid>{12344228-91F4-4502-9595-39584E5ABB34}</ProjectGuid>
77
<LangVersion>latest</LangVersion>

0 commit comments

Comments
 (0)