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

Overhaul [Cleared] #25

Open
bddckr opened this issue Jan 28, 2019 · 0 comments
Open

Overhaul [Cleared] #25

bddckr opened this issue Jan 28, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@bddckr
Copy link
Contributor

bddckr commented Jan 28, 2019

  1. Rename the attribute to ClearsToDefaultAttribute and also allow setting non-reference types (see [RequiresBehaviourState] for the logic to set to default).
  2. Add a new attribute ClearsByMethodAttribute which takes the nameof the method to call on the property to clear it. This needs to handle null property values(!), and shall ensure the method exists on the property's type(!) and the method is accessible(!) and takes no arguments(!). The method's return value shall be ignored.
@bddckr bddckr added enhancement New feature or request w_ready labels Jan 28, 2019
This was referenced Jan 28, 2019
@bddckr bddckr removed the w_ready label Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant