public WebView2RegexOptions GetSelectedOptions( ) { if (Dispatcher.CheckAccess( )) { return(Options); } else { return(Options.Clone( )); } }
internal void SetSelectedOptions(WebView2RegexOptions options) { try { ++ChangeCounter; Options = options.Clone( ); DataContext = Options; } finally { --ChangeCounter; } }