Ejemplo 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);
            }
        }
Ejemplo n.º 2
0
 private static async void ExecuteOpenProfileCommand(ulong args)
 {
     await ViewServices.ViewProfile(args);
 }