Beispiel #1
0
        /// <summary>
        /// 访问请求
        /// </summary>
        /// <param name="dialogs"></param>
        /// <param name="request"></param>
        /// <returns></returns>
        public static async Task <bool> RequestAccess(this IDialogService dialogs, Func <Task <AccessState> > request)
        {
            var access = await request();

            return(dialogs.AlertAccess(access));
        }