Esempio n. 1
0
        public IRunner Create()
        {
            var instance = new RunnerInstance(rand.Next());

            RunnersCollection.Add(instance);
            return(instance.ViewModel);
        }
Esempio n. 2
0
        public IRunner Create()
        {
            var instance = new RunnerInstance(rand.Next());

            instance.ViewModel.ConfigChanged   += OnRunnerSessionChanged;
            instance.ViewModel.WordlistChanged += OnRunnerSessionChanged;
            RunnersCollection.Add(instance);
            return(instance.ViewModel);
        }