Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Tag Helpers: Add ability to specify ContentBehavior #122

Closed
NTaylorMullen opened this issue Sep 8, 2014 · 2 comments
Closed

Tag Helpers: Add ability to specify ContentBehavior #122

NTaylorMullen opened this issue Sep 8, 2014 · 2 comments

Comments

@NTaylorMullen
Copy link
Contributor

TagHelper's default content behavior is ContentBehavior.None. We need to add a ContentBehaviorAttribute to override what a TagHelper's ContentBehavior should be.

@NTaylorMullen NTaylorMullen self-assigned this Sep 8, 2014
@NTaylorMullen NTaylorMullen added this to the 4.0.0-beta1 milestone Sep 8, 2014
@yishaigalatzer
Copy link
Contributor

This will be done using an attribute only. There is no other planned way to do so, at this point, but we might at some point add a mechanism to provide descriptors using a provider. This might be an interesting case for view components (though we can make view components work through metaprogramming).

@yishaigalatzer yishaigalatzer changed the title Tag Helpers: Add ability to specify ContentBehavior via Attribute Tag Helpers: Add ability to specify ContentBehavior Sep 10, 2014
@danroth27 danroth27 assigned NTaylorMullen and unassigned dougbu Sep 23, 2014
NTaylorMullen added a commit that referenced this issue Sep 26, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorResolver.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Sep 29, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Sep 29, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Sep 29, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Sep 29, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Sep 30, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Sep 30, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 1, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 1, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 2, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 2, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 2, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 3, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 4, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 4, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
NTaylorMullen added a commit that referenced this issue Oct 5, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
@NTaylorMullen
Copy link
Contributor Author

ec638b1

NTaylorMullen added a commit that referenced this issue Oct 9, 2014
- Added detection of custom ContentBehaviors via the ContentBehaviorAttribute in the TagHelperDescriptorFactory.
- Updated some comments in the ContentBehavior enum.
- Add tests to validate custom content behavior resolution.

#122
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants