Click or drag to resize
RegisterImageVariantDefinitionAttribute Constructor
Constructor.

Namespace: CMS.ResponsiveImages
Assembly: CMS.ResponsiveImages (in CMS.ResponsiveImages.dll) Version: 10.0.0
Syntax
C#
public RegisterImageVariantDefinitionAttribute(
	Type type
)

Parameters

type
Type: SystemType
Definition type which implements IImageVariantDefinition.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown 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.
See Also