Esempio n. 1
0
 /// <summary>
 /// Called by the memento supporter that wraps this helper, to let it know that a change has occurred in its internal state.
 /// </summary>
 public void ReportChange()
 {
     m_hasChanged = true;
     MementoChangeEvent?.Invoke(m_iss);
 }
Esempio n. 2
0
 /// <summary>
 /// Called by the memento supporter that wraps this helper, to let it know that a change has occurred in its internal state.
 /// </summary>
 /// <param name="iss">The memento supporter which has changed.</param>
 private void ReportChange(ISupportsMementos iss)
 {
     m_hasChanged = true;
     MementoChangeEvent?.Invoke(iss);
 }