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

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