protected void Save(IDataPersister dp) { var dataSettings = dp.GetDataSettings(); if (dataSettings.persistenceType == DataSettings.PersistenceType.ReadOnly || dataSettings.persistenceType == DataSettings.PersistenceType.DoNotPersist) { return; } if (!string.IsNullOrEmpty(dataSettings.dataTag)) { m_Store[dataSettings.dataTag] = dp.SavePersistenceData(); } }