SharpSpecs.UI.Controllers.MainWindowController.Load C# (CSharp) Method

Load() private method

Loads this instance.
private Load ( ) : void
return void
        private void Load()
        {
            IEnumerable<Feature> features = this.SpecRunner.Load(this.ViewModel.SelectedFile);
            this.ViewModel.Features.Clear();
            this.ViewModel.Features.AddRange(features.Select(f => new FeatureViewModel(f)));
        }