views:

37

answers:

0

I'm looking into implementing design-time support for some WPF controls, and I'm confused by the MSDN article Feature Providers and Connectors. In the How Feature Providers are Created at Design Time section, it mentions that in the simplest case, you can use FeatureConnectorAttribute to associate a feature provider with a class. This seems weird to me from looking at the documentation for the attribute; it seems like the article meant to say FeatureAttribute instead. Am I right, or is there something I'm missing?

UPDATE Further on in the documentation, it seems to indicate that FeatureConnectorAttribute is used on the feature provider itself and says, "Use this feature connector to host this feature provider" while FeatureAttribute is used on editable types and says, "Use this feature provider on this type." If this is the case, wouldn't FeatureAttribute still be the simpler scenario and go along with the description of associating a feature provider with a class?