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

Add SymbolSpecific rules #103

Open
KathleenDollard opened this issue Jul 11, 2020 · 1 comment
Open

Add SymbolSpecific rules #103

KathleenDollard opened this issue Jul 11, 2020 · 1 comment

Comments

@KathleenDollard
Copy link
Owner

Simplify the creation of rules by adding rules specific to symbols.

Instead of:

            .Add(new AttributeWithPropertyValueRule<ArgumentAttribute, string[]>("Aliases"))

use:

            .Add(new ArgumentAttributeValueRule<string[]>("Aliases"))
@KathleenDollard
Copy link
Owner Author

This may result in changing:

                .Add(new BooleanAttributeRule<ArgumentAttribute>("Required"))

to:

              .Add(new ArgumentAttributeValueRule<bool>("Required"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant