Class TunnelSuggestionViewModel
- Namespace
- McServerLauncher.ViewModels
- Assembly
- McServerLauncher.dll
One line of the "things I can fix" panel: what is wrong, and the button that fixes it.
public sealed class TunnelSuggestionViewModel
- Inheritance
-
TunnelSuggestionViewModel
- Inherited Members
Constructors
TunnelSuggestionViewModel(TunnelsViewModel, TunnelSuggestion, bool)
public TunnelSuggestionViewModel(TunnelsViewModel owner, TunnelSuggestion suggestion, bool canFixHere = true)
Parameters
ownerTunnelsViewModelsuggestionTunnelSuggestioncanFixHerebool
Properties
ApplyCommand
Gets an IAsyncRelayCommand instance wrapping McServerLauncher.ViewModels.TunnelSuggestionViewModel.Apply().
[ExcludeFromCodeCoverage]
public IAsyncRelayCommand ApplyCommand { get; }
Property Value
ButtonText
public string ButtonText { get; }
Property Value
CanFixHere
False when the only key that can see the tunnel is read-only: the fix is then made on playit.gg.
public bool CanFixHere { get; }
Property Value
IsProblem
public bool IsProblem { get; }
Property Value
Text
public string Text { get; }