コード例 #1
0
        public Developer(long id, string email, string name, string portfolio, decimal hourlySalary,
                         Contact contact, Address address, DeveloperPreference preference, DeveloperSkills skills) : base(id)
        {
            Email        = email;
            Name         = name;
            Portfolio    = portfolio;
            HourlySalary = hourlySalary;
            Contact      = contact;
            Address      = address;
            Preference   = preference;
            Skills       = skills;

            Validate();
        }
コード例 #2
0
 public void ApplyAddress(DeveloperPreference developerPreference)
 {
     Preference = developerPreference;
 }