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

            await this.ApplyBarcodeCaptureSettingsAsync();
        }