public static void ClearWarnings(string reason) { _warningCaption = reason; _warningList.Clear(); } #endregion