Method TryGetDuration
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
TryGetDuration(out TimeSpan)
Reads the value as a length of time; false when it is unlimited, absent or not a duration.
public bool TryGetDuration(out TimeSpan value)
Parameters
valueTimeSpanThe duration, or Zero when the method returns false.
Returns
- bool