コード例 #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);
 }