-
Notifications
You must be signed in to change notification settings - Fork 10
How to start?
beakona edited this page Jul 28, 2021
·
4 revisions
AutoInterface is a .NET Standard 2.0 library that runs during compile-time.
Inside your .NET project:
- Install NuGet package
BeaKona.AutoInterfaceGenerator
or addBeaKona.AutoInterfaceGenerator.dll
as Analyzer to your Visual Studio.csproj
file.
<ItemGroup>
<Analyzer Include="absolute-or-relative-path-to\BeaKona.AutoInterfaceGenerator.dll"/>
</ItemGroup>
- Mark class as
partial
. - Append attribute
BeaKona.AutoInterfaceAttribute
to a backing member which will handle calls.