\r\n

51Degrees Device Detection .NET  4.2Newer Version 4.4

Device detection services for 51Degrees Pipeline

FiftyOne.DeviceDetection.Cloud.FlowElements.HardwareProfileCloudEngine Class Reference

Detailed Description

A cloud-based engine that can return multiple hardware profiles from a single request.

For example, A single TAC code can match multiple hardware devices.

Inheritance diagram for FiftyOne.DeviceDetection.Cloud.FlowElements.HardwareProfileCloudEngine:

[legend]

Collaboration diagram for FiftyOne.DeviceDetection.Cloud.FlowElements.HardwareProfileCloudEngine:

[legend]

Public Member Functions

 HardwareProfileCloudEngine (ILogger< PropertyKeyedCloudEngineBase< MultiDeviceDataCloud, IDeviceData >> logger, Func< IPipeline, FlowElementBase< MultiDeviceDataCloud, IAspectPropertyMetaData >, MultiDeviceDataCloud > deviceDataFactory)
Constructor More...

Public Attributes

override string  ElementDataKey => "hardware"
The key to use for storing this engine's data in a IFlowData instance. More...

Protected Member Functions

override IDeviceData  CreateProfileData ()
Called by the base class to create a new data instance. More...

Constructor & Destructor Documentation

◆ HardwareProfileCloudEngine()

FiftyOne.DeviceDetection.Cloud.FlowElements.HardwareProfileCloudEngine.HardwareProfileCloudEngine ( ILogger< PropertyKeyedCloudEngineBase< MultiDeviceDataCloud, IDeviceData >>   logger,
Func< IPipeline, FlowElementBase< MultiDeviceDataCloud, IAspectPropertyMetaData >, MultiDeviceDataCloud >   deviceDataFactory  
)

Constructor

Parameters
logger - The logger for this instance to use
deviceDataFactory - Factory function to use when creating aspect data instances.

Member Function Documentation

◆ CreateProfileData()

override IDeviceData FiftyOne.DeviceDetection.Cloud.FlowElements.HardwareProfileCloudEngine.CreateProfileData ( )
protected

Called by the base class to create a new data instance.

Returns

Member Data Documentation

◆ ElementDataKey

override string FiftyOne.DeviceDetection.Cloud.FlowElements.HardwareProfileCloudEngine.ElementDataKey => "hardware"

The key to use for storing this engine's data in a IFlowData instance.