Files
WoofWare.Whippet/WoofWare.Whippet.Core
Patrick Stevens da609db2ce
Some checks are pending
.NET / build (Debug) (push) Waiting to run
.NET / build (Release) (push) Waiting to run
.NET / analyzers (push) Waiting to run
.NET / check-dotnet-format (push) Waiting to run
.NET / check-nix-format (push) Waiting to run
.NET / Check links (push) Waiting to run
.NET / Check flake (push) Waiting to run
.NET / nuget-pack (push) Waiting to run
.NET / expected-pack (push) Blocked by required conditions
.NET / check-accurate-generations (push) Waiting to run
.NET / all-required-checks-complete (push) Blocked by required conditions
.NET / nuget-publish (push) Blocked by required conditions
.NET / nuget-publish-fantomas (push) Blocked by required conditions
.NET / nuget-publish-json-plugin (push) Blocked by required conditions
.NET / nuget-publish-json-attrs (push) Blocked by required conditions
.NET / nuget-publish-argparser-plugin (push) Blocked by required conditions
.NET / nuget-publish-argparser-attrs (push) Blocked by required conditions
First release (#10)
2024-10-07 13:35:43 +01:00
..
2024-10-07 13:35:43 +01:00
2024-10-02 23:29:52 +01:00
2024-10-07 13:35:43 +01:00
2024-10-02 23:29:52 +01:00
2024-10-02 23:29:52 +01:00

WoofWare.Whippet.Core

This library defines the types you will need to create a plugin that works with the WoofWare.Whippet source generator, as well as some types which you may find convenient for this purpose.

To the greatest extent possible, WoofWare.Whippet is structured so that if you wish, you do not need to use this library. However, there are some types you must use.

Mandatory types

When defining any method which performs source generation, you must use the appropriate input type (such as RawSourceGenerationArgs). We try very hard to ensure we never break backward compatibility, so you should safely be able to use old versions of WoofWare.Whippet.Core even with new versions of the WoofWare.Whippet generator.

Optional types

  • You must decorate your plugin types with an attribute named [<WhippetGenerator>]. We supply one you can use.
  • We supply interfaces from which you can inherit, to ensure that you are providing members of the right type signature.