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.
23 lines
511 B
23 lines
511 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Visitor
|
|
{
|
|
/*
|
|
* 카테고리: 행위 패턴
|
|
* 개요: 집합적 객체의 각 요소에 대해 새로운 동작을 추가하기 위해
|
|
* 각 요소 클래스를 일일이 수정하지 않고 별도의 Visitor 클래스를 정의하여 새 동작을 추가함
|
|
*/
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Client.HowToTest();
|
|
|
|
Console.ReadKey();
|
|
}
|
|
}
|
|
}
|
|
|