Beispiel #1
0
 public ProfilingTypeViewModel(IProfilingType profilingType, FrameworkViewModel framework,
                               List <ProfilingTypeViewModel> profilingTypes, ProfilingTypeSettingsCollection profilingTypesSettings)
 {
     _references             = 0;
     _profilingType          = profilingType;
     _framework              = framework;
     _profilingTypes         = profilingTypes;
     _profilingTypesSettings = profilingTypesSettings;
 }
Beispiel #2
0
        public ProfilingTypesViewModel(IApplicationBase application, ConfigurationSettings configurationSettings)
        {
            _frameworks = new List <FrameworkViewModel>();
            List <ProfilingTypeViewModel> profilingTypes = new List <ProfilingTypeViewModel>();

            foreach (IFramework framework in application.Frameworks)
            {
                FrameworkViewModel viewModel = new FrameworkViewModel(framework, profilingTypes, configurationSettings);
                _frameworks.Add(viewModel);
            }
        }