Esempio n. 1
0
        private void UpdateUserAndEmail()
        {
            if (gitClient == null)
            {
                needsRefresh = true;
                return;
            }

            gitClient.GetConfigUserAndEmail()
            .Catch(InvalidationFailed)
            .ThenInUI(value =>
            {
                Name  = value.Name;
                Email = value.Email;
            }).Start();
        }
Esempio n. 2
0
        private void UpdateUserAndEmail()
        {
            if (gitClient != null)
            {
                Logger.Trace("UpdateUserAndEmail");

                gitClient.GetConfigUserAndEmail()
                .ThenInUI((success, value) =>
                {
                    if (success)
                    {
                        Name  = value.Name;
                        Email = value.Email;
                    }
                }).Start();
            }
        }
Esempio n. 3
0
        private void UpdateUserAndEmail()
        {
            if (gitClient == null)
            {
                needsRefresh = true;
                return;
            }

            gitClient.GetConfigUserAndEmail()
            .ThenInUI((success, value) =>
            {
                if (success)
                {
                    Name  = value.Name;
                    Email = value.Email;
                }
            }).Start();
        }