Interface ITMPTagValidator
- Namespace
- TMPEffects.Tags
Tag validation interface.
public interface ITMPTagValidatorMethods
ValidateOpenTag(TagInfo, out TMPEffectTag, out int)
Validate a given ParsingUtility.TagInfo. MUST be of type Open.
bool ValidateOpenTag(ParsingUtility.TagInfo tagInfo, out TMPEffectTag data, out int endIndex)Parameters
- tagInfoParsingUtility.TagInfo
- Information about the tag. 
- dataTMPEffectTag
- Assuming the tag is validated, this will be set to the created TMPEffectTag; otherwise it will be null. 
- endIndexint
- Assuming the tag is validated, this will be set to the endIndex of the tag. 
Returns
- bool
- true if the tag is successfully validated; false otherwise. 
Exceptions
ValidateTag(TMPEffectTag)
Validate a given TMPEffectTag.
bool ValidateTag(TMPEffectTag tag)Parameters
- tagTMPEffectTag
- Information about the tag. 
Returns
- bool
- true if the tag is successfully validated; false otherwise. 
ValidateTag(TagInfo)
Validate a given ParsingUtility.TagInfo.
bool ValidateTag(ParsingUtility.TagInfo tagInfo)Parameters
- tagInfoParsingUtility.TagInfo
- Information about the tag. 
Returns
- bool
- true if the tag is successfully validated; false otherwise.