OnPopWithNullEvent() публичный Метод

public OnPopWithNullEvent ( string soda, Spring.Util.EventRaiser raiser ) : void
soda string
raiser Spring.Util.EventRaiser
Результат void
Пример #1
0
 public void RaiseWithNullEvent () 
 {
     OneThirstyDude dude = new OneThirstyDude ();
     Soda bru = new Soda ();
     bru.Pop += new PopHandler (dude.HandlePop);
     bru.OnPopWithNullEvent ("Iron Brew", new EventRaiser ());
     Assert.AreEqual (string.Empty, dude.Soda);
 }
        public void RaiseWithNullEvent()
        {
            OneThirstyDude dude = new OneThirstyDude();
            Soda           bru  = new Soda();

            bru.Pop += new PopHandler(dude.HandlePop);
            bru.OnPopWithNullEvent("Iron Brew", new EventRaiser());
            Assert.AreEqual(string.Empty, dude.Soda);
        }