Exemplo n.º 1
0
        public REPL()
        {
            InitializeComponent();

            this.settings = new UserSettings();
            this.viewModel = new StatusViewModel();

            this.browserSelection.Items.Clear();
            var browserValues = Enum.GetValues(typeof(FluentAutomation.SeleniumWebDriver.Browser)).Cast<FluentAutomation.SeleniumWebDriver.Browser>().ToList();
            browserValues.Sort((x, y) => x.ToString().CompareTo(y.ToString()));

            foreach (var browserValue in browserValues)
            {
                this.browserSelection.Items.Add(browserValue.ToString());
            }

            this.InitRepl();
            this.browserSelection.SetItemChecked(1, true);
        }
Exemplo n.º 2
0
 public StatusLine(UserSettings settings, StatusViewModel viewModel)
 {
     this.settings  = settings;
     this.viewModel = viewModel;
 }
Exemplo n.º 3
0
 public StatusLine(UserSettings settings, StatusViewModel viewModel)
 {
     this.settings = settings;
     this.viewModel = viewModel;
 }