Click or drag to resize
DefaultImplementationAttribute Constructor
Instructs ObjectFactoryT to use implementation whenever an instance of interface or class targeted by this attribute is requested.

Namespace: CMS
Assembly: CMS.Core (in CMS.Core.dll) Version: 11.0.0
Syntax
C#
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