public void ConnectTo(ItemAttributes itemAttributes) { if (_skillEnabler != null) { _skillEnabler.EnabledChangedForSlots -= SkillEnablerOnEnabledChangedForSlots; } _skillEnabler = itemAttributes.SkillEnabler; _itemAttributesSkills = itemAttributes.Skills; Collection.ResetTo(GetDefaultSkills().Select(Update)); _itemAttributesSkills.ResetTo(Collection); _skillEnabler.EnabledChangedForSlots += SkillEnablerOnEnabledChangedForSlots; }