void ScheduleForInstallation(string type, FileInfo source, string destination) { if (m_Candidates.ContainsKey(type)) { InstallationCandidate candidate = new InstallationCandidate(source, destination); candidate.IsEnabled = IsTypeEnabled(type); m_Candidates[type].Add(candidate); } }
void ScheduleForInstallation( string type, FileInfo source, string destination ) { if( m_Candidates.ContainsKey( type ) ) { InstallationCandidate candidate = new InstallationCandidate( source, destination ); candidate.IsEnabled = IsTypeEnabled( type ); m_Candidates[ type ].Add( candidate ); } }