-
Notifications
You must be signed in to change notification settings - Fork 11
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.AutoInterfaceGeneratoror addBeaKona.AutoInterfaceGenerator.dllas Analyzer to your Visual Studio.csprojfile.
<ItemGroup>
<Analyzer Include="absolute-or-relative-path-to\BeaKona.AutoInterfaceGenerator.dll"/>
</ItemGroup>- Mark class as
partial. - Append attribute
BeaKona.AutoInterfaceAttributeto a backing member which will handle calls.