// --------------------------------------------------------------------------- /** * Creates a Phrase containing the name of a Director. * @param director a Director object * @return a Phrase object */ public static Phrase GetDirectorPhrase(Director director) { Phrase phrase = new Phrase(); phrase.Add(new Chunk(director.Name, FilmFonts.BOLD)); phrase.Add(new Chunk(", ", FilmFonts.BOLD)); phrase.Add(new Chunk(director.GivenName, FilmFonts.NORMAL)); return phrase; }
// --------------------------------------------------------------------------- /** * Adds a director. * @param director one of the directors of the movie */ public void AddDirector(Director director) { _directors.Add(director); }