예제 #1
0
 public ThrottleTests()
 {
     // add username / password
     _subject = new ApiThrottle("", "", "http://api.theysay.io", 10);
 }
예제 #2
0
 private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
 {
     _throttleApi = new ApiThrottle(Excel.Default.Username, Excel.Default.Password, Excel.Default.ApiEndpoint, Excel.Default.WarnThreshold);
 }