rspec/rules/S4428/description.adoc

4 lines
435 B
Plaintext
Raw Normal View History

2021-01-27 13:42:22 +01:00
The ``++PartCreationPolicyAttribute++`` attribute, which is part of the Managed Extensibility Framework (MEF), is used to specify how the exported object will be created. Therefore it doesn't make sense not to export this a class with this attribute using the ``++ExportAttribute++`` attribute.
2020-06-30 12:49:37 +02:00
2021-01-27 13:42:22 +01:00
This rule raises an issue when a class is marked as shared with a ``++PartCreationPolicyAttribute++`` but lacks a ``++ExportAttribute++``.