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

            return(this);
        }