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
501 B
25 lines
501 B
using Observer.TemperatureObserver;
|
|
using Observer.TimerObserver;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Observer
|
|
{
|
|
/*
|
|
* 카테고리: 행위 패턴
|
|
* 개요: 객체의 변화를 그 객체를 의존하는 모든 다른 객체들에게 통지
|
|
*/
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
//TimerClient.HowToTest(5);
|
|
|
|
TemperatureClient.HowToTest(10);
|
|
}
|
|
}
|
|
}
|
|
|