コード例 #1
0
        public IRunner Create()
        {
            var instance = new RunnerInstance(rand.Next());

            RunnersCollection.Add(instance);
            return(instance.ViewModel);
        }
コード例 #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);
        }