Add command pattern

This commit is contained in:
Petrutiu Mihai
2016-06-22 16:24:25 +03:00
parent 90fd5764d4
commit 1ab706016e
17 changed files with 375 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
using ChainOfResponssibility;
using ChainOfResponssibility.PurchaseExample;
using CommandPattern;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@@ -16,6 +17,8 @@ namespace BehavioralPatterns
//This is usefull when you have a request and you don't know who should process it
ChainOfResponsibillityExamples.Run();
Console.ReadKey();
CommandPatternExamples.Run();
Console.ReadKey();
}
}
}