public Subject(string Name, IList <Labor> LaborList) { SubjectName = Name; foreach (Labor objective in LaborList) { objective.Scope = Scope; objective.Subject = this; Labors.Put(objective.Name, objective); } LaborersCount = 1; }
public Subject(string Name, IList <IDeputy> MethodList) { SubjectName = Name; foreach (IDeputy method in MethodList) { Labor objective = new Labor($"{method.Info.Name}", method); objective.Scope = Scope; objective.Subject = this; Labors.Put($"{method.Info.Name}", objective); } LaborersCount = 1; }