예제 #1
0
 public Country(string name, ILanguage language)
 {
     Name        = name;
     CodeCountry = new CodeCountry(name);
     if (Languages == null)
     {
         throw new ArgumentNullException();
     }
     Languages.Add(language);
 }
예제 #2
0
 public Country(string name) : this(name, new Language())
 {
     Name        = name;
     CodeCountry = new CodeCountry(name);
 }