4d5d6b84 d19d abbd eeda bbd5156b5864 - akesseler/Plexdata.Utilities.Templates GitHub Wiki
Checks the validity of provided hole marker.
Namespace: Plexdata.Utilities.Formatting.Helpers
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0
C#
private static bool IsValidHoleMarker(
StringBuilder marker
)
- marker
- Type: System.Text.StringBuilder
The marker whose content has to be validated.
Type: Boolean
True if the marker only contains valid format instructions and false otherwise. A hole token is turned into a text token in case of this method returns false.
According to template formatting rules, a hole marker can only consist of a few of valid characters.Task of this method is to ensure these allowed characters depending on their position within the marker.
TemplateParser Class
Plexdata.Utilities.Formatting.Helpers Namespace