Ejemplo n.º 1
0
 public void HandleEvent(object sender, AnnounceEventArgs args)
 {
     if (args != null)
     {
         Announce announce = args.Announce;
         this.ArmTimer(announce);
     }
 }
Ejemplo n.º 2
0
 public AnnounceDeserializer(int cacheSize)
 {
     this.deserializer = new DataContractJsonSerializer(typeof(Announce));
     this.cache        = new AnnounceCache(cacheSize);
     this.eventArgs    = new AnnounceEventArgs();
 }