public EnterIdViewModel(EnterIdArgs args) { _args = args; }
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)); }