public void Fire_ObjectSaved(StorageContext context, T obj) { ObjectSaved?.Invoke(context, new ObjectEventArgs <T>(obj)); }
protected virtual void OnSave() { Repository.Save(DomainObject); MessageLog.GetLog().LogMessage($"{DomainObject.GetType().Name} : {DomainObject} saved."); ObjectSaved?.Invoke(this, new EventArgs()); }
protected virtual void OnObjectSaved(EventArgs e) => ObjectSaved.Invoke(this, e);
public override void Save() { base.Save(); ObjectSaved?.Invoke(this, new EventArgs()); }