예제 #1
0
        public void Init(NavObject navObject)
        {
            Username     = navObject.Username;
            Repository   = navObject.Repository;
            Id           = navObject.Id;
            SaveOnSelect = navObject.SaveOnSelect;

            SelectedUser = TxSevice.Get() as BasicUserModel;
            this.Bind(x => x.SelectedUser).Subscribe(x => SelectUser(x));
        }
        public void Init(NavObject navObject)
        {
            Username          = navObject.Username;
            Repository        = navObject.Repository;
            Id                = navObject.Id;
            SaveOnSelect      = navObject.SaveOnSelect;
            SelectedMilestone = TxSevice.Get() as MilestoneModel;

            this.Bind(x => x.SelectedMilestone).Subscribe(x => SelectMilestone(x));
        }
        public void Init(NavObject navObject)
        {
            Username     = navObject.Username;
            Repository   = navObject.Repository;
            Id           = navObject.Id;
            SaveOnSelect = navObject.SaveOnSelect;
            var value = TxSevice.Get() as string;

            SelectedValue = value;

            this.Bind(x => x.SelectedValue, x => SelectValue(x));
        }
        public void Init(NavObject navObject)
        {
            Username     = navObject.Username;
            Repository   = navObject.Repository;
            Id           = navObject.Id;
            SaveOnSelect = navObject.SaveOnSelect;
            var issue = TxSevice.Get() as string;

            SelectedMilestone = issue;

            this.Bind(x => x.SelectedMilestone, x => SelectMilestone(x));
        }
 public void Init(NavObject navObject)
 {
     Username     = navObject.Username;
     Repository   = navObject.Repository;
     SelectedUser = TxSevice.Get() as UserModel;
     this.Bind(x => x.SelectedUser).Subscribe(x => {
         Messenger.Publish(new SelectedAssignedToMessage(this)
         {
             User = x
         });
         ChangePresentation(new MvxClosePresentationHint(this));
     });
 }