private static void Main() { var profileRepository = new ProfileXmlRepository(); var processModel = new ProcessModel(profileRepository); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new AssemblyUpdaterForm(processModel)); }
public ProcessModel(ProfileXmlRepository profileRepository) { _profileRepository = profileRepository; LoadProfiles(); }