-
-
Notifications
You must be signed in to change notification settings - Fork 182
Smart flag enum #160
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
Merged
Merged
Smart flag enum #160
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When FromValue() is called on a SmartFlagEnum with the corresponding MaxValue of the base tyoe as the value agrument, a list of all defined enum values is returned. This is similar to passing negative one.
… Folder Structure
* current progress * Move test project to solution and create Directory.Build.props files to simplify the configuration process * Set up CI with Azure Pipelines [skip ci] * Remove redundant PackageId from Directory.Build.props * Fix LangVersion property * Fix unit test project missing source project references * Update test project path * Update azure-pipelines.yml for Azure Pipelines * Remove duplicate tasks * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Remove Benchmarks from pack process by ading <GeneratePackageOnBuild>false</GeneratePackageOnBuild> * Make protram and main method public to avoid error CS5001 on azure pipelines * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Reorder project structure -Bring solution to the root path -Create benchmarks folder and move project -Move test projects from src/test to test -Reorder projects inside solutions -Craete Directory.Build.props for tests projects and propagate code coverage and commons nuget packages. -Update azure .ylm pipeline to produce code coverage diagrams and result * Fix solution items Co-authored-by: Steve Smith <steve@kentsmiths.com> Co-authored-by: Daniel Meza <dmeza@speedsol.com>
…ardalis#68) Bumps [MessagePack](https://github.com/neuecc/MessagePack-CSharp) from 1.7.3.4 to 1.9.11. - [Release notes](https://github.com/neuecc/MessagePack-CSharp/releases) - [Commits](MessagePack-CSharp/MessagePack-CSharp@v1.7.3.4...v1.9.11) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… Folder Structure
Return all flags for underlying type MaxValue
# Conflicts: # SmartEnum.sln # src/SmartEnum/SmartEnum.cs
ardalis
approved these changes
Feb 2, 2022
Going to need to fix some things with the serializers but we'll do that separately. Sorry this sat forver. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following thorugh with #64