void instance_Throttled(object sender, ThottledEventArgs e) { if (Throttled != null) { Throttled(sender, e); } }
void model_Throttled(object sender, ThottledEventArgs e) { if (e.WaitTime.TotalSeconds > 4) { update(string.Format("GGG Server request limit hit, throttling activated. Please wait {0} seconds", e.WaitTime.Seconds), new POEEventArgs(POEEventState.BeforeEvent)); } }