51Degrees Pipeline .NET  4.1

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBuilder Class Reference

Detailed Description

Builder class that is used to create ShareUsageElement instances.

Inheritance diagram for FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBuilder:

[legend]

Collaboration diagram for FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBuilder:

[legend]

Public Member Functions

 ShareUsageBuilder (ILoggerFactory loggerFactory, HttpClient httpClient)
Constructor More...
 ShareUsageBuilder (ILoggerFactory loggerFactory, ILogger logger, HttpClient httpClient)
Constructor More...
override ShareUsageElement  Build ()

Public Member Functions inherited from FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBuilderBase< ShareUsageElement >

 ShareUsageBuilderBase (ILoggerFactory loggerFactory)
Constructor More...
 ShareUsageBuilderBase (ILoggerFactory loggerFactory, ILogger logger)
ShareUsageBuilderBase< T >  SetIncludedQueryStringParameters (List< string > queryStringParameterNames)
Add parameter names to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  SetIncludedQueryStringParameters (string queryStringParameterNames)
Add parameter names to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  SetIncludedQueryStringParameter (string queryStringParameterName)
Add a parameter name to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  SetBlockedHttpHeaders (List< string > blockedHeaders)
Set the (case insensitive) names of HTTP headers that will not be sent to 51 degrees. More...
ShareUsageBuilderBase< T >  SetBlockedHttpHeader (string blockedHeader)
Add a header to the (case insensitive) list of names of HTTP headers that will not be sent to 51 degrees. More...
ShareUsageBuilderBase< T >  SetIgnoreFlowDataEvidenceFilter (string evidenceFilter)
Adds evidence key:values to the filter such that requests which contain this evidence are ignored. More...
ShareUsageBuilderBase< T >  SetSharePercentage (double sharePercentage)
Set the percentage of data that the ShareUsageElement should be sharing. More...
ShareUsageBuilderBase< T >  SetMinimumEntriesPerMessage (int minimumEntriesPerMessage)
Set the minimum number of entries to be aggregated by the ShareUsageElement before they are sent to the remote service. More...
ShareUsageBuilderBase< T >  SetMaximumQueueSize (int size)
Set the maximum number of entries to be stored in the queue to be sent. More...
ShareUsageBuilderBase< T >  SetAddTimeout (int milliseconds)
Set the timeout in milliseconds to allow when attempting to add an item to the queue. More...
ShareUsageBuilderBase< T >  SetTakeTimeout (int milliseconds)
Set the timeout in milliseconds to allow when attempting to take an item from the queue in order to send to the remote service. More...
ShareUsageBuilderBase< T >  SetShareUsageUrl (string shareUsageUrl)
Set the URL to use when sharing usage data. More...
ShareUsageBuilderBase< T >  SetShareUsageUrl (Uri shareUsageUrl)
Set the URL to use when sharing usage data. More...
ShareUsageBuilderBase< T >  SetAspSessionCookieName (string cookieName)
Set the name of the cookie that contains the asp.net session id. More...
ShareUsageBuilderBase< T >  SetRepeatEvidenceIntervalMinutes (int interval)
Set the interval which determines if a non-unique piece of evidence is repeat evidence or new. More...
ShareUsageBuilderBase< T >  SetTrackSession (bool track)
Enable or disable session tracking. More...

Constructor & Destructor Documentation

◆ ShareUsageBuilder() [1/2]

FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBuilder.ShareUsageBuilder ( ILoggerFactory   loggerFactory,
HttpClient   httpClient  
)

Constructor

Parameters
loggerFactory - The ILoggerFactory to use when creating loggers for a ShareUsageElement.
httpClient - The HttpClient that ShareUsageElement should use for sending data.

◆ ShareUsageBuilder() [2/2]

FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBuilder.ShareUsageBuilder ( ILoggerFactory   loggerFactory,
ILogger   logger,
HttpClient   httpClient  
)

Constructor

Parameters
logger -

The ILogger to use for a ShareUsageElement.

Parameters
loggerFactory - The ILoggerFactory to use when creating loggers for a ShareUsageElement.
httpClient - The HttpClient that ShareUsageElement should use for sending data.

Member Function Documentation