Class ConditionBuilderComponent
Represents a condition builder form component.
[ComponentAttribute(typeof(ConditionBuilderComponentAttribute))]
public sealed class ConditionBuilderComponent : FormComponent<ConditionBuilderProperties, ConditionBuilderClientProperties, string>, IFormComponent, IFormItem<IFormComponentClientProperties>, IFormItem
- Inheritance
-
objectConditionBuilderComponent
- Implements
- Inherited Members
- Extension Methods
Constructors
ConditionBuilderComponent(ILocalizationService, IAuthenticatedUserAccessor)
Creates a new instance of ConditionBuilderComponent.
public ConditionBuilderComponent(ILocalizationService localizationService, IAuthenticatedUserAccessor authenticatedUserAccessor)
Parameters
localizationService
ILocalizationServiceauthenticatedUserAccessor
IAuthenticatedUserAccessor
Fields
IDENTIFIER
Represents the ConditionBuilderComponent identifier.
public const string IDENTIFIER = "Kentico.Administration.ConditionBuilder"
Field Value
- string
Properties
ClientComponentName
Name of the front-end type implementing the UI form component.
public override string ClientComponentName { get; }
Property Value
- string
Methods
ConfigureClientProperties(ConditionBuilderClientProperties)
Configures the form component client properties.
protected override Task ConfigureClientProperties(ConditionBuilderClientProperties clientProperties)
Parameters
clientProperties
ConditionBuilderClientPropertiesThe current instance of the form component client properties.
Returns
- Task
Remarks
Override this method in order to configure form component client properties.
ConfigureComponent()
Configures the form component. This method is called when all form component properties are set.
protected override void ConfigureComponent()
Remarks
Override this method to set component inner state, like additional component validation rules.
GetMacro(SelectedConditionTree)
Command that converts SelectedConditionTree to its string representation.
public Task<ICommandResponse> GetMacro(SelectedConditionTree conditiontree)
Parameters
conditiontree
SelectedConditionTree
Returns
- Task<ICommandResponse>