Method TryParse
- Namespace
- DocWright.Core.Primitives
- Assembly
- DocWright.Core.dll
TryParse(string?, out PageRange)
Attempts to parse a page selection such as 1-3,7,12-, 4 or all.
public static bool TryParse(string? text, out PageRange result)
Parameters
textstringThe selection text, or null.
resultPageRangeThe parsed selection, or All when parsing fails.