51Degrees Device Detection .NET  4.1

Device detection services for 51Degrees Pipeline

FiftyOne.DeviceDetection.Cloud.Data.MultiDeviceDataCloud Class Reference

Detailed Description

A data class that is used to access details of cloud responses that contain multiple device data records.

Inheritance diagram for FiftyOne.DeviceDetection.Cloud.Data.MultiDeviceDataCloud:

[legend]

Collaboration diagram for FiftyOne.DeviceDetection.Cloud.Data.MultiDeviceDataCloud:

[legend]

Public Member Functions

 MultiDeviceDataCloud (ILogger< AspectDataBase > logger, IPipeline pipeline, IAspectEngine engine)
Constructor More...
 MultiDeviceDataCloud (ILogger< AspectDataBase > logger, IPipeline pipeline, IAspectEngine engine, IMissingPropertyService missingPropertyService)
Constructor More...
void  AddProfile (IDeviceData profile)
Add a 'profile' to this list. More...

Public Attributes

IReadOnlyList< IDeviceData >  Profiles => GetDeviceList()
Get the list of devices. More...

Constructor & Destructor Documentation

◆ MultiDeviceDataCloud() [1/2]

FiftyOne.DeviceDetection.Cloud.Data.MultiDeviceDataCloud.MultiDeviceDataCloud ( ILogger< AspectDataBase >   logger,
IPipeline   pipeline,
IAspectEngine   engine  
)

Constructor

Parameters
logger - The logger instance to use.
pipeline - The Pipeline that created this data instance.
engine - The engine that create this data instance.

◆ MultiDeviceDataCloud() [2/2]

FiftyOne.DeviceDetection.Cloud.Data.MultiDeviceDataCloud.MultiDeviceDataCloud ( ILogger< AspectDataBase >   logger,
IPipeline   pipeline,
IAspectEngine   engine,
IMissingPropertyService   missingPropertyService  
)

Constructor

Parameters
logger - The logger instance to use.
pipeline - The Pipeline that created this data instance.
engine - The engine that create this data instance.
missingPropertyService - The IMissingPropertyService to use if a requested property does not exist.

Member Function Documentation

◆ AddProfile()

void FiftyOne.DeviceDetection.Cloud.Data.MultiDeviceDataCloud.AddProfile ( IDeviceData   profile )

Add a 'profile' to this list.

Note that 'profile' is usually used to refer to data for an individual component such as 'hardware' or 'browser'. In this case, a complete IDeviceData is passed, which may contain data from profiles for multiple components.

Parameters
profile - The data instance to add to the list.

Member Data Documentation

◆ Profiles

IReadOnlyList<IDeviceData> FiftyOne.DeviceDetection.Cloud.Data.MultiDeviceDataCloud.Profiles => GetDeviceList()

Get the list of devices.