Beispiel #1
0
        /// <summary>
        /// Gets the file names.
        /// </summary>
        public async Task <IEnumerable <string> > GetFileNames()
        {
            string[] fileNames;
            using (ServerServiceClient serverServiceClient = new ServerServiceClient())
            {
                fileNames = await serverServiceClient.GetFileNamesAsync();
            }

            UpdateFilesOnUi(fileNames);

            return(fileNames);
        }