Click or drag to resize
ConditionTypeControllerTConditionType Class
Base class for controllers of condition types.
Inheritance Hierarchy
SystemObject
  ControllerBase
    Controller
      Kentico.Web.Mvc.InternalControllerProxy
        Kentico.PageBuilder.Web.Mvc.PersonalizationConditionTypeControllerTConditionType

Namespace: Kentico.PageBuilder.Web.Mvc.Personalization
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public abstract class ConditionTypeController<TConditionType> : ControllerProxy
where TConditionType : class, new(), IConditionType

Type Parameters

TConditionType

The ConditionTypeControllerTConditionType type exposes the following members.

Constructors
  NameDescription
Protected methodConditionTypeControllerTConditionType
Creates an instance of the ConditionTypeControllerTConditionType class.
Top
Methods
  NameDescription
Protected methodBadRequest
Creates an HttpStatusCodeResult that produces a BadRequest response.
(Inherited from ControllerProxy.)
Protected methodForbid
Creates an HttpStatusCodeResult that produces a Forbidden response.
(Inherited from ControllerProxy.)
Protected methodGetParameters
Gets parameters of a condition type based on TConditionType type.
Protected methodJson(Object, JsonSerializerSettings)
Creates an ContentResult that produces a response with content type 'application/json'.
(Inherited from ControllerProxy.)
Protected methodJson(Object, String, Encoding, JsonRequestBehavior)
Creates a JsonCamelCaseResult object that serializes the specified object to JavaScript Object Notation (JSON) camel case format using the content type, content encoding, and the JSON request behavior.
Protected methodNotFound
Creates an HttpStatusCodeResult that produces a NotFound response.
(Inherited from ControllerProxy.)
Protected methodStatusCode
Creates an HttpStatusCodeResult by specifying a statusCode.
(Inherited from ControllerProxy.)
Protected methodUnauthorized
Creates an HttpStatusCodeResult that produces a Unauthorized response.
(Inherited from ControllerProxy.)
Top
See Also