Пример #1
0
        /// <summary>
        /// Get default HighlightAction
        /// </summary>
        /// <returns></returns>
        public static ClearOverlayDriver GetDefaultInstance()
        {
            if (defaultHighlightOverlayAction == null)
            {
                defaultHighlightOverlayAction = new ClearOverlayDriver();
            }

            return(defaultHighlightOverlayAction);
        }
Пример #2
0
 /// <summary>
 /// Clear default Highlighter instance
 /// </summary>
 public static void ClearDefaultInstance()
 {
     defaultHighlightOverlayAction?.Dispose();
     defaultHighlightOverlayAction = null;
 }