//adds a configuration to the list public static void AddConfiguration(Configuration configuration) { if (configurations.Find(c => c.Name == configuration.Name && !c.Standard) != null) configurations.RemoveAll(c => c.Name == configuration.Name); configurations.Add(configuration); }
//returns the list of configurations for a specific type public static List<Configuration> GetConfigurations(Configuration.ConfigurationType type) { return configurations.FindAll(c => c.Type == type); }
public WPFPopUpLoadConfiguration(Configuration.ConfigurationType type) { InitializeComponent(); }