public void OnSavingUserData(XmlTextWriter writer) { if (SavingUserData != null) { SavingUserData(writer); } }