public async void SelectImage()
        {
            var imagePath = _fileProcessorService.SelectFile();

            if (imagePath == null)
            {
                return;
            }

            SocketUser.ProfilePicture = await _fileProcessorService.GetBytesFromImage(imagePath);
        }
Exemplo n.º 2
0
        private async void SelectImage()
        {
            string imagePath = _fileProcessorService.SelectFile();

            if (imagePath == null)
            {
                return;
            }

            byte[] image = await _fileProcessorService.GetBytesFromImage(imagePath);

            ImageCount++;
            Images.Add(image);
        }