Update when to use and print the pitfalls

This commit is contained in:
Petrutiu Mihai
2016-06-23 21:05:18 +03:00
parent 05709db77e
commit 2894347140

View File

@@ -41,7 +41,9 @@ namespace MememntoPattern
{ {
return @"When to use: return @"When to use:
When you need to be able to track the state of an object,or/and restore previous states as needed When you need to be able to track the state of an object,or/and restore previous states as needed
When you cannot use simple operation undo/redo, by saving the commands (when there are side effects to the operations) - example translation"; When you cannot use simple operation undo/redo, by saving the commands (when there are side effects to the operations) - example translation
Database transactions.
";
} }