protected virtual void NavigateToAccount(GhAccount account)
 {
     if (account is GhUser)
     {
         NavigateToUser((GhUser)account);
     }
 }
Exemplo n.º 2
0
        protected override void NavigateToAccount(GhAccount account)
        {
            var org = account as GhOrganization;

            _navigationService.UriFor<OrgViewModel>()
                .WithParam(vm => vm.OrgJson, JsonConvert.SerializeObject(org))
                .Navigate();
        }
Exemplo n.º 3
0
 protected static void BasicMemberMapping(Octokit.Account source, GhAccount target)
 {
     target.Login = source.Login;
     target.Url = source.Url;
     target.AvatarUrl = source.AvatarUrl;
 }
Exemplo n.º 4
0
 protected static void BasicMemberMapping(Octokit.Account source, GhAccount target)
 {
     target.Login     = source.Login;
     target.Url       = source.Url;
     target.AvatarUrl = source.AvatarUrl;
 }