Add basic memento pattern
This commit is contained in:
@@ -3,6 +3,7 @@ using ChainOfResponssibility.PurchaseExample;
|
||||
using CommandPattern;
|
||||
using IteratorPattern;
|
||||
using MediatorPattern;
|
||||
using MememntoPattern;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
@@ -16,6 +17,9 @@ namespace BehavioralPatterns
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
|
||||
MementoPatternExamples mementoPattern = new MementoPatternExamples();
|
||||
mementoPattern.Run();
|
||||
|
||||
MediatorPatternExamples.Run();
|
||||
//Chain of responsibillity
|
||||
//This is usefull when you have a request and you don't know who should process it
|
||||
|
||||
Reference in New Issue
Block a user