Class IFeatureSetExtensions
- Namespace
- Kentico.PageBuilder.Web.Mvc
- Assembly
- Kentico.Content.Web.Mvc.dll
Provides extension methods for the IFeatureSet interface.
public static class IFeatureSetExtensions
- Inheritance
-
objectIFeatureSetExtensions
Methods
PageBuilder(IFeatureSet)
Returns a feature that provides information about Page builder.
public static IPageBuilderFeature PageBuilder(this IFeatureSet features)
Parameters
features
IFeatureSetThe set of features.
Returns
- IPageBuilderFeature
A feature that provides information about Page builder.
Exceptions
- InvalidOperationException
Thrown when page builder feature is not initialized through UsePageBuilder(IFeaturesBuilder, PageBuilderOptions).