Beispiel #1
0
 public EnterIdViewModel(EnterIdArgs args)
 {
     _args = args;
 }
Beispiel #2
0
 public void IdToUpdate()
 {
     if (CurrentServer == null) return;
     var idArgs = new EnterIdArgs();
     idArgs = _interaction.Dialog<EnterIdViewModel>().Run(idArgs);
     if (idArgs.UserCancelled)
         return;
     idArgs.Server = CurrentServer.Address;
     idArgs.Token = CurrentServer.Token;
     _publisher.Publish(new LoadContentTaskMsg(idArgs));
 }