You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
726 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChainOfResponsibility
{
/*
* 카테고리: 행위 패턴
* 개요: 명령을 처리하기 위해 명령을 체인을 따라 전달하며
* 그 명령을 수행할 수 있도록 체인으로 연결된 객체에서 처리함
* 각 체인의 객체는 명령을 수행해보고 처리할 수 없으면 다음 객체로 넘기며
* 명령은 체인의 처음부터 끝까지 계속 이동하게 됨
*/
internal class Program
{
static void Main(string[] args)
{
Client.HowToUse();
Console.ReadKey();
}
}
}