Table of Contents

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

owner TunnelsViewModel
suggestion TunnelSuggestion
canFixHere bool

Properties

ApplyCommand

Gets an IAsyncRelayCommand instance wrapping McServerLauncher.ViewModels.TunnelSuggestionViewModel.Apply().

[ExcludeFromCodeCoverage]
public IAsyncRelayCommand ApplyCommand { get; }

Property Value

IAsyncRelayCommand

ButtonText

public string ButtonText { get; }

Property Value

string

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

bool

IsProblem

public bool IsProblem { get; }

Property Value

bool

Text

public string Text { get; }

Property Value

string