Example #1
0
        private Dictionary <string, string> PictureTypeMap()
        {
            Dictionary <string, string> _lookup = new Dictionary <string, string>();

            foreach (var displayFamily in DisplayFamily.All())
            {
                _lookup.Add(displayFamily.name.ToString(), displayFamily.pictureType.ToString());
            }

            return(_lookup);
        }
Example #2
0
        private Dictionary <string, List <List <int> > > DeviceResolutionMap()
        {
            Dictionary <string, List <List <int> > > _lookup = new Dictionary <string, List <List <int> > >();

            foreach (var displayFamily in DisplayFamily.All())
            {
                if (displayFamily.IsMessagesSupported())
                {
                    _lookup.Add(displayFamily.name.ToString(), displayFamily.screenshotResolutions);
                }
            }

            return(_lookup);
        }
Example #3
0
        private Dictionary <string, string> MessagePictureTypeMap()
        {
            Dictionary <string, string> _lookup = new Dictionary <string, string>();

            foreach (var displayFamily in DisplayFamily.All())
            {
                if (displayFamily.IsMessagesSupported())
                {
                    _lookup.Add(displayFamily.name.ToString(), displayFamily.messagesPictureType.ToString());
                }
            }

            return(_lookup);
        }