Exemplo n.º 1
0
 private void instance_Throttled(object sender, ThottledEventArgs e)
 {
     if (Throttled != null)
         Throttled(this, e);
 }
Exemplo n.º 2
0
 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));
 }
 void model_Throttled(object sender, ThottledEventArgs e)
 {
     if (e.WaitTime.TotalSeconds > 4)
         update(string.Format(Lang.GGGRequestLimitStrValue, e.WaitTime.Seconds), new POEEventArgs(POEEventState.BeforeEvent));
 }