private static IDictionary <string, IValueObject> MakeValueObjects( IEmployeeRoot root, IDepartment department, IUser user, INtId ntId) => new Dictionary <string, IValueObject> { { "Root", root }, { "Department", department }, { "User", user }, { "NtId", ntId } };
public Employee( IComplexKey complexKey, IEmployeeRoot root, IDepartment department, IUser user, INtId ntId) : base(complexKey, MakeValueObjects(root, department, user, ntId)) { _root = root; _department = department; _user = user; _ntId = ntId; }