Add guard clauses for SmartEnum
Added SmartEnumOutOfRange using Ardalis.GuardClauses with two method overloads (int, and generic type).
Closes #528
TODO: Update Readme.md once this pull request is approved and nuget is created.
@ardalis Hey Ardalis, Saw you tried to merge the pull request. The build fails because of System.Text.Json vulnerability. Do you need me to do anything with this pull request?
Update System.Text.Json if you have a chance otherwise I'll get to it eventually.
@ardalis , I have fixed the CS1591 (warning as error).
- Do you want me to add a publish-smartenumguardclauses.yml file (using the same template you use for all publish ymls)?
- Do you want me to add a README.md to the SmartEnumGuardClauses csproj? or maybe update it to use the main README file?currently no project has a README file baked into it except for SmartEnum.
@Asafima
- Sure that would be helpful.
- Your call on the README. Probably good for it to have its own and just link to SmartEnum for more info. Would keep it shorter/simpler.
@ardalis Awesome. Added github-actions yml file for pipeline, and a readme file for this nuget with references to SmartEnum.
@ardalis Hey, any new on this PR?
Thanks!