Esempio n. 1
0
        private static async void ExecuteOpenProfileCommand(object args)
        {
            if (args == null)
            {
                return;
            }

            string screenName = args.ToString();
            ulong  userid;

            if (ulong.TryParse(screenName, out userid))
            {
                await ViewServices.ViewProfile(userid);
            }
            else
            {
                await ViewServices.ViewProfile(screenName);
            }
        }
Esempio n. 2
0
 private static async void ExecuteOpenProfileCommand(ulong args)
 {
     await ViewServices.ViewProfile(args);
 }