Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ability to inherit from GenerateAutoInterfaceAttribute. #28

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on May 16, 2024

  1. feat: ability to inherit from GenerateAutoInterfaceAttribute.

    Generated public auto interfaces are inherited from IAutoInterface and IAutoInterface<T> to allow constraint type restrictions.
    Attributes moved from generated code to separate project (and nuget package), to allow inherited from GenerateAutoInterfaceAttribute classes to be used in linked projects. That package must be installed independently.
    Generated files are marked with // <auto-generated/> to turn off warnings.
    Enabled #nullable for generated files.
    Added support for nested types, example:
      class A { public int A { get; } }
      [GeneratedAutoInterface] class B : A { }
    will generate:
      interface IB { int A { get; } }
    avtc committed May 16, 2024
    Configuration menu
    Copy the full SHA
    a97c9b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    694e7fe View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. feat: interface name template

    avtc committed May 29, 2024
    Configuration menu
    Copy the full SHA
    48c4530 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    d043e0a View commit details
    Browse the repository at this point in the history