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