Exemple #1
0
        private async void URLBox_TextChanged(object sender, TextChangedEventArgs e)
        {
            string url = URLBox.Text;

            analyser?.Dispose();
            analyser = UrlConverter.GetAnalyser(url);
            if (analyser == null)
            {
                return;
            }

            controller.RegistAnalyser(null, analyser);
            analyser.BindVisualController(controller);
            await analyser.SetURLAsync(url);
        }