\r\n

51Degrees Device Detection .NET  4.4

Device detection services for 51Degrees Pipeline

FiftyOne.DeviceDetection.Examples.OnPremise.MatchMetrics.Program.Example Class Reference

Inheritance diagram for FiftyOne.DeviceDetection.Examples.OnPremise.MatchMetrics.Program.Example:

[legend]

Collaboration diagram for FiftyOne.DeviceDetection.Examples.OnPremise.MatchMetrics.Program.Example:

[legend]

Public Member Functions

 Example (DeviceDetectionPipelineBuilder pipelineBuilder, ILogger< Example > logger)
Constructor More...
void  Run (string dataFile, IEnumerable< Dictionary< string, object >> evidenceList, TextWriter output)
Run the example More...

Properties

DeviceDetectionPipelineBuilder  PipelineBuilder [get]
Builder used to create a Pipeline instance More...
ILogger< Example >  Logger [get]

Constructor & Destructor Documentation

◆ Example()

FiftyOne.DeviceDetection.Examples.OnPremise.MatchMetrics.Program.Example.Example ( DeviceDetectionPipelineBuilder   pipelineBuilder,
ILogger< Example >   logger  
)

Constructor

Parameters
pipelineBuilder - A builder used to create a pipeline that includes device detection.
logger -
Examples
OnPremise/MatchMetrics-Console/Program.cs.

Member Function Documentation

◆ Run()

void FiftyOne.DeviceDetection.Examples.OnPremise.MatchMetrics.Program.Example.Run ( string   dataFile,
IEnumerable< Dictionary< string, object >>   evidenceList,
TextWriter   output  
)

Run the example

Parameters
dataFile - Path to a data file to use in this example. May be absolute or relative. If relative, the example will search for a matching file in the project directories.
evidenceList - The values to perform device detection against
output - The writer to use when outputting messages
Examples
OnPremise/MatchMetrics-Console/Program.cs.

Property Documentation

◆ PipelineBuilder

DeviceDetectionPipelineBuilder FiftyOne.DeviceDetection.Examples.OnPremise.MatchMetrics.Program.Example.PipelineBuilder
get

Builder used to create a Pipeline instance

Examples
OnPremise/MatchMetrics-Console/Program.cs.