public TimeSpan GetMillisDuration(string path, TimeSpan? @default = null) { HoconValue value = GetNode(path); if (value == null) { return(@default.GetValueOrDefault()); } return(value.GetMillisDuration()); }
public TimeSpan GetMillisDuration(string path, TimeSpan? @default = null) { HoconValue value = GetNode(path); if (value == null) { Debug.Assert(@default != null, "@default != null"); return(@default.Value); } return(value.GetMillisDuration()); }