Class WebsiteChannelInfoProvider
Class providing WebsiteChannelInfo management.
public class WebsiteChannelInfoProvider : AbstractInfoProvider<WebsiteChannelInfo, WebsiteChannelInfoProvider>, IInfoProvider, ICustomizableProvider, IBulkOperationProvider, IWebFarmProvider, IInfoValidator<WebsiteChannelInfo>, IInfoProvider<WebsiteChannelInfo>, IInfoByIdProvider<WebsiteChannelInfo>, IInfoByGuidProvider<WebsiteChannelInfo>, IInfoByNameProvider<WebsiteChannelInfo>, IBulkInfoProvider<WebsiteChannelInfo>
- Inheritance
-
objectAbstractInfoProvider<WebsiteChannelInfo, WebsiteChannelInfoProvider, ObjectQuery<WebsiteChannelInfo>>WebsiteChannelInfoProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
WebsiteChannelInfoProvider()
Initializes a new instance of the WebsiteChannelInfoProvider class.
public WebsiteChannelInfoProvider()
Methods
Validate(WebsiteChannelInfo)
Validates whether the info object's state satisfies domain specific constraints and returns the validation result.
public override InfoValidationResult Validate(WebsiteChannelInfo info)
Parameters
infoWebsiteChannelInfoInfo object to be validated.
Returns
- InfoValidationResult
Returns validation result with IsValid set to true, if
infois valid. Otherwise returns result with the flag set to false and a corresponding error message.
Remarks
Implement IInfoValidator<TInfo> and register it into the system to perform domain specific validation for WebsiteChannelInfo. The system invokes the registered validators as part of validation performed by this method.
The default implementation validates the code name to contain only allowed characters and to be unique.
Exceptions
- ArgumentNullException
Thrown when
infois null.
- See Also
-
IInfoValidator<TInfo>