PriorityExtensions.ParsePriority method
Parses a string value into a Priority
enum. The parser is case-insensetive and accepts hyphen. e.g. Normal, Non-Critival or CRITICAL.
public static Priority ParsePriority(this string value)
parameter | description |
---|---|
value | Priority string value to be parsed. |
Return Value
The Priority parsed value. Returns Priority.Normal if the value is invalid.
See Also
- enum Priority
- class PriorityExtensions
- namespace Farfetch.LoadShedding.Tasks