Click or drag to resize

PlaceholderValidator Class

Validates placeholder texts defined in module configurations.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.PlaceholdersPlaceholderValidator

Namespace:  MFiles.VAF.Placeholders
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class PlaceholderValidator

The PlaceholderValidator type exposes the following members.

Constructors
  NameDescription
Public methodPlaceholderValidator
Constructor.
Top
Properties
  NameDescription
Public propertyConfiguration
The configuration being validated.
Public propertyResults
The results where validation findings get reported.
Public propertySettings
The placeholder settings to validate texts against.
Public propertyVault
The vault in which the configuration is being validated.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidatePlaceholder(TranslatableContent, String, Boolean, Boolean)
Validates a string as a single placeholder.
Public methodValidatePlaceholder(String, String, Boolean, Boolean, ExpansionContextType, Int32)
Validates a string as a single placeholder.
Public methodValidatePlaceholderTemplate(String, String, Boolean, Boolean)
Validates a string as a text that can contain multiple placeholders amongst static text.
Public methodValidatePlaceholderTemplate(TranslatableContent, String, Boolean, Boolean)
Validates a string as text that can contain multiple placeholders amongst the static text.
Top
See Also