Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. //Indicate that we are planning to change the change the value
  2. //Help for preview of modification, OnRaise still need to be called to really do the changes
  3. //Added also a bool to know if the value of the changes should be know or not (it was need to work with the Grievance Prototype)
  4. public void PreviewChanges(T Value, bool ChangeOfTheValueIsKnown)
  5. {
  6. OnPreviewChanges?.Invoke(Value, ChangeOfTheValueIsKnown);
  7. }
  8.  
  9. //Stay that the preview is over
  10. public void ClearPreviewChanges()
  11. {
  12. OnCleaPreviewChanges?.Invoke();
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement