Пример #1
0
 void controller_DeactivateAdUnit(object sender, DeactivateAdUnitEventArgs e)
 {
     if (DeactivateAdUnit != null)
     {
         DeactivateAdUnit(this, e);
     }
     if (e.Error != null)
     {
         UnloadCompanions();
     }
     // hide all icons
     HideIcons(e.Player);
 }
Пример #2
0
 void controller_DeactivateAdUnit(object sender, DeactivateAdUnitEventArgs e)
 {
     Assert.AreSame(e.CreativeSource, adUnitStack.Pop());
 }