public void RegisterFile(string component, BuildFile file) { if (informations.ContainsKey(component)) { file.Component = component; informations[component].Files.Add(file); } else { throw new UnknownComponentException(component); } }
public void RegisterFile( string component, BuildFile file ) { if( informations.ContainsKey( component ) ) { file.Component = component; informations[component].Files.Add( file ); } else { throw new UnknownComponentException( component ); } }