◆ EvidenceKeyFilterShareUsage()
FiftyOne.Pipeline.Engines.FiftyOne.Data.EvidenceKeyFilterShareUsage.EvidenceKeyFilterShareUsage | ( | List< string > | blockedHttpHeaders, |
List< string > | includedQueryStringParams, | ||
bool | includeSession, | ||
string | aspSessionCookieName | ||
) |
Constructor
- Parameters
-
- blockedHttpHeaders - A list of the names of the HTTP headers that share usage should not send to 51Degrees.
- includedQueryStringParams - A list of the names of query string parameters that share usage should send to 51Degrees.
- includeSession - If true then the asp.net session cookie will be included in the filter.
- aspSessionCookieName - The name of the cookie that contains the asp.net session id.
Member Function Documentation
◆ Include()
virtual bool FiftyOne.Pipeline.Engines.FiftyOne.Data.EvidenceKeyFilterShareUsage.Include ( string key ) virtualCheck if the specified evidence key is included by this filter.
- Parameters
-
- key - The key to check
- Returns
- True if the key is included and false if not.
- Exceptions
-
- ArgumentNullException - Thrown if the supplied key is null
Implements FiftyOne.Pipeline.Core.Data.IEvidenceKeyFilter.
Reimplemented in FiftyOne.Pipeline.Engines.FiftyOne.Data.EvidenceKeyFilterShareUsageTracker.
◆ Order()
int? FiftyOne.Pipeline.Engines.FiftyOne.Data.EvidenceKeyFilterShareUsage.Order ( string key ) Return the 'order of precedence of the specified evidence key.
Lower values indicate evidence where the value is more likely to provide differentiation between requests. This is used by features such as Caching to improve performance when checking if one set of evidence matches another.
- Parameters
-
- key - The key to get the order for.
- Returns
- The order, where lower values indicate a higher order of precedence.
Implements FiftyOne.Pipeline.Core.Data.IEvidenceKeyFilter.