Add project files
This commit is contained in:
21
src/BehavioralPatterns/Program.cs
Normal file
21
src/BehavioralPatterns/Program.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using ChainOfResponssibility;
|
||||
using ChainOfResponssibility.PurchaseExample;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BehavioralPatterns
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
//Chain of responsibillity
|
||||
//This is usefull when you have a request and you don't know who should process it
|
||||
ChainOfResponsibillityExamples.Run();
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user