Exemplo n.º 1
0
Arquivo: Form1.cs Projeto: rNdm74/C-
        private void Form1_Load(object sender, EventArgs e)
        {
            fireMonitorSubject = new FireMonitorSubject();

            InstructionsFireObserver instructionsFireObserver = new InstructionsFireObserver(fireMonitorSubject);
            AlarmBellFireObserver alarmBellFireObserver = new AlarmBellFireObserver(fireMonitorSubject);
        }
Exemplo n.º 2
0
Arquivo: Form1.cs Projeto: rNdm74/C-
        private void Form1_Load(object sender, EventArgs e)
        {
            fireMonitorSubject = new FireMonitorSubject();

            InstructionsFireObserver instructionsFireObserver = new InstructionsFireObserver(fireMonitorSubject);
            AlarmBellFireObserver    alarmBellFireObserver    = new AlarmBellFireObserver(fireMonitorSubject);
        }
Exemplo n.º 3
0
 public AlarmBellFireObserver(FireMonitorSubject fireMonitorSubject)
     : base(fireMonitorSubject)
 {
 }
Exemplo n.º 4
0
 public InstructionsFireObserver(FireMonitorSubject fireMonitorSubject)
     : base(fireMonitorSubject)
 {
 }
Exemplo n.º 5
0
 public FireObserverBase(FireMonitorSubject fireMonitorSubject)
 {
     fireMonitorSubject.FireEvent += new FireMonitorSubject.FireEventHandler(fireHandler);
 }
Exemplo n.º 6
0
 public InstructionsFireObserver(FireMonitorSubject fireMonitorSubject)
     : base(fireMonitorSubject)
 {
 }
Exemplo n.º 7
0
 public FireObserverBase(FireMonitorSubject fireMonitorSubject)
 {
     fireMonitorSubject.FireEvent += new FireMonitorSubject.FireEventHandler(fireHandler);
 }
Exemplo n.º 8
0
 public AlarmBellFireObserver(FireMonitorSubject fireMonitorSubject)
     : base(fireMonitorSubject)
 {
 }