/// <summary> /// Item is about to be added /// </summary> protected override void OnAdding(NetTypeReference item) { owner.OnModified(); }
/// <summary> /// Item is about to be added /// </summary> protected override void OnAdding(T item) { item.DeclaringType = declaringType; declaringType.OnModified(); }