public IEnumerable <SymbologySettingsItem> GetItems() { return(SymbologyDescription.All().Select(description => { return new SymbologySettingsItem(description, this.settingsManager.IsSymbologyEnabled(description.Symbology)); })); }
public async Task EnableAllSymbologies(bool enabled) { foreach (SymbologyDescription description in SymbologyDescription.All()) { this.BarcodeCaptureSettings.EnableSymbology(description.Symbology, enabled); } await this.ApplyBarcodeCaptureSettingsAsync(); }