C# Class Microsoft.Azure.Devices.Applications.RemoteMonitoring.DeviceAdmin.Infrastructure.Repository.FilterHelper

Testable logic for filtering devices in DocDB
Mostrar archivo Open project: Azure/azure-iot-remote-monitoring

Public Methods

Method Description
FilterDeviceList ( IQueryable list, List filters ) : IQueryable

Filters the device list with the supplied filters

Private Methods

Method Description
FilterItems ( IQueryable list, Microsoft.Azure.Devices.Applications.RemoteMonitoring.DeviceAdmin.Infrastructure.Models.FilterInfo filter ) : IQueryable
GetIsNotNull ( dynamic item ) : bool
GetValueMatchesStatus ( DeviceModel item, string statusName ) : bool
GetValueSatisfiesFilter ( dynamic value, Microsoft.Azure.Devices.Applications.RemoteMonitoring.DeviceAdmin.Infrastructure.Models.FilterInfo filterInfo ) : bool

Method Details

FilterDeviceList() public static method

Filters the device list with the supplied filters
public static FilterDeviceList ( IQueryable list, List filters ) : IQueryable
list IQueryable Devices to filter
filters List Filters to apply
return IQueryable