public LevenshtienDistanceDeviceDetection(IDictionary<string, DeviceConfiguration> mobileUserAgentStrings, IDictionary<string, DeviceConfiguration> tabletOverrideUserAgentStrings, DetectionOptions options = null) { _options = options ?? new DetectionOptions(); _mobileDeviceComparisonList = mobileUserAgentStrings; _mobileTabletOverrideComparisonList = tabletOverrideUserAgentStrings; }
public LevenshtienDistanceDeviceDetection(DetectionOptions options = null) { _options = options ?? new DetectionOptions(); _mobileDeviceComparisonList = MobileDetectionUserAgents.MobileComparisonList; _mobileTabletOverrideComparisonList = MobileDetectionUserAgents.TabletOverrideComparisonList; }