Provides convenience extensions for sliding windows.
More...
|
static decimal | CurrentRate (this ISlidingWindow< int > window) |
| The rate of items per minute, where each integer value N represents N items, relative to the current time.
|
static decimal | CurrentRate (this ISlidingWindow< int > window, TimeSpan periodSize) |
| The rate of items per provided period size, where each integer value N represents N items, relative to the current time.
|
static decimal | CurrentRate (this ISlidingWindow< long > window) |
| The rate of items per minute, where each long value N represents N items, relative to the current time.
|
static decimal | CurrentRate (this ISlidingWindow< long > window, TimeSpan periodSize) |
| The rate of items per provided period size, where each long value N represents N items, relative to the current time.
|
static decimal | CurrentRate (this ISlidingWindow< decimal > window) |
| The rate of items per minute, where each decimal value N represents N items, relative to the current time.
|
static decimal | CurrentRate (this ISlidingWindow< decimal > window, TimeSpan periodSize) |
| The rate of items per provided period size, where each decimal value N represents N items, relative to the current time.
|
static decimal | CurrentRate (this ISlidingWindow< double > window) |
| The rate of items per minute, where each double value N represents N items, relative to the current time.
|
static decimal | CurrentRate (this ISlidingWindow< double > window, TimeSpan periodSize) |
| The rate of items per provided period size, where each double value N represents N items, relative to the current time.
|
Provides convenience extensions for sliding windows.
◆ CurrentRate() [1/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< decimal > | window | ) |
|
|
static |
The rate of items per minute, where each decimal value N represents N items, relative to the current time.
- Parameters
-
- Returns
◆ CurrentRate() [2/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< decimal > | window, |
|
|
TimeSpan | periodSize ) |
|
static |
The rate of items per provided period size, where each decimal value N represents N items, relative to the current time.
- Parameters
-
- Returns
◆ CurrentRate() [3/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< double > | window | ) |
|
|
static |
The rate of items per minute, where each double value N represents N items, relative to the current time.
- Parameters
-
- Returns
◆ CurrentRate() [4/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< double > | window, |
|
|
TimeSpan | periodSize ) |
|
static |
The rate of items per provided period size, where each double value N represents N items, relative to the current time.
- Parameters
-
- Returns
◆ CurrentRate() [5/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< int > | window | ) |
|
|
static |
The rate of items per minute, where each integer value N represents N items, relative to the current time.
- Parameters
-
- Returns
◆ CurrentRate() [6/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< int > | window, |
|
|
TimeSpan | periodSize ) |
|
static |
The rate of items per provided period size, where each integer value N represents N items, relative to the current time.
- Parameters
-
- Returns
◆ CurrentRate() [7/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< long > | window | ) |
|
|
static |
The rate of items per minute, where each long value N represents N items, relative to the current time.
- Parameters
-
- Returns
◆ CurrentRate() [8/8]
decimal PeanutButter.Utils.SlidingWindowRateExtensions.CurrentRate |
( |
this ISlidingWindow< long > | window, |
|
|
TimeSpan | periodSize ) |
|
static |
The rate of items per provided period size, where each long value N represents N items, relative to the current time.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/SlidingWindowRateExtensions.cs