void ClearState() { ErrorMessage = ""; DiagramItems.Clear(); HeaderItems.Clear(); NotifyOfPropertyChange(nameof(HasItems)); }
/// <summary> /// Clear all settings /// </summary> /// <returns></returns> public RestClient Clear() { HeaderItems.Clear(); QueryItems.Clear(); PathItems = StringVector.Empty; AbsoluteUri = null; BaseAddress = null; return(this); }