PlaceholderValidator Class

Validates placeholder texts defined in module configurations.

Definition

Namespace: MFiles.VAF.Placeholders
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public class PlaceholderValidator
Inheritance
Object    PlaceholderValidator

Constructors

PlaceholderValidator Constructor.

Properties

Configuration The configuration being validated.
Results The results where validation findings get reported.
Settings The placeholder settings to validate texts against.
Vault The vault in which the configuration is being validated.

Methods

ValidatePlaceholder(TranslatableContent, String, Boolean, Boolean) Validates a string as a single placeholder.
ValidatePlaceholder(String, String, Boolean, Boolean, ExpansionContextType, Int32)  
ValidatePlaceholderTemplate(String, String, Boolean, Boolean) Validates a string as a text that can contain multiple placeholders amongst static text.
ValidatePlaceholderTemplate(TranslatableContent, String, Boolean, Boolean) Validates a string as text that can contain multiple placeholders amongst the static text.

See Also