RegisterImageVariantDefinitionAttribute Constructor |
Namespace: CMS.ResponsiveImages
public RegisterImageVariantDefinitionAttribute( Type type )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when either of the parameters is null. |
ArgumentException | Thrown when the definition type doesn't implement the IImageVariantDefinition interface, is abstract or doesn't provide a parameterless constructor. |