private void SetupOrganizationBigBoss(XElement bigBoss, RarFIO fio) { if (bigBoss == null || fio == null) { return; } fio.Surname = GetElementStringValue(bigBoss.Element("Фамилия")); fio.Name = GetElementStringValue(bigBoss.Element("Имя")); fio.Middlename = GetElementStringValue(bigBoss.Element("Отчество")); //необязательный }
public RarOurCompany() : base() { Director = new RarFIO(); Accountant = new RarFIO(); SubdevisionList = new List <RarSubdevision>(); }
public RarFIO(RarFIO fio) { Name = fio.Name; Surname = fio.Surname; Middlename = fio.Middlename; }