DefaultImplementationAttribute Constructor |
Instructs
ObjectFactoryT to use
implementation whenever an instance of interface or class targeted by this attribute is requested.
Namespace: CMSAssembly: CMS.Core (in CMS.Core.dll) Version: 10.0.0
Syntax public DefaultImplementationAttribute(
Type implementation,
bool canBeReplaced = true
)
Parameters
- implementation
- Type: SystemType
Default implementation of interface or class targeted by this attribute. - canBeReplaced (Optional)
- Type: SystemBoolean
If true, the default implementation can be replaced.
See Also