Beispiel #1
0
        /// <summary>
        /// Gets the basic properties of the current folder.
        /// </summary>
        /// <returns></returns>
        public Task <BasicProperties> GetBasicPropertiesAsync()
        {
#if WINDOWS_UWP || WINDOWS_APP || WINDOWS_PHONE_APP || WINDOWS_PHONE
            return(Task.Run <BasicProperties>(async() =>
            {
                return await _folder.GetBasicPropertiesAsync();
            }));
#elif __ANDROID__ || __UNIFIED__ || WIN32 || TIZEN
            return(Task.FromResult <BasicProperties>(new BasicProperties(this)));
#else
            throw new PlatformNotSupportedException();
#endif
        }