C# 클래스 SimpleDnsCrypt.ViewModels.MainViewModel

상속: Caliburn.Micro.Screen, IShell
파일 보기 프로젝트 열기: bitbeans/SimpleDnsCrypt

공개 메소드들

메소드 설명
HideOverlay ( ) : void

Overlay management for MetroMessageBoxViewModel.

IsAdministrator ( ) : bool

Check if the current user has administrative privileges.

MainViewModel ( ) : System

MainViewModel construcor for XAML.

NetworkCardClicked ( LocalNetworkInterface localNetworkInterface ) : void

Click event for the network cards.

OpenPluginManager ( ) : void
RefreshResolverListAsync ( ) : void

Refresh the resolver list from the newest csv file.

SavePrimaryPort ( ) : void
ShowOverlay ( ) : void

Overlay management for MetroMessageBoxViewModel.

UninstallServices ( ) : void

Uninstall all installed dnscrypt-proxy services.

비공개 메소드들

메소드 설명
ConvertProxyEntryToParameter ( DnsCryptProxyEntry dnsCryptProxyEntry, DnsCryptProxyType dnsCryptProxyType ) : DnsCryptProxyParameter
HandleGlobalResolver ( bool actAsGlobalGateway ) : void
HandleService ( DnsCryptProxyType dnsCryptProxyType ) : void
LoadNetworkCards ( ) : void

Load the local network cards.

MainViewModel ( IWindowManager windowManager, IEventAggregator eventAggregator ) : System
ReloadResolver ( DnsCryptProxyType dnsCryptProxyType ) : void
RestartService ( DnsCryptProxyType dnsCryptProxyType ) : void
UpdateAsync ( ) : void

Method to check if there is a new application version available.

ValidateDnsCryptProxyFolder ( ) : bool

Check the dnscrypt-proxy directory on completeness.

메소드 상세

HideOverlay() 공개 메소드

Overlay management for MetroMessageBoxViewModel.
public HideOverlay ( ) : void
리턴 void

IsAdministrator() 공개 정적인 메소드

Check if the current user has administrative privileges.
public static IsAdministrator ( ) : bool
리턴 bool

MainViewModel() 공개 메소드

MainViewModel construcor for XAML.
public MainViewModel ( ) : System
리턴 System

NetworkCardClicked() 공개 메소드

Click event for the network cards.
public NetworkCardClicked ( LocalNetworkInterface localNetworkInterface ) : void
localNetworkInterface LocalNetworkInterface The clicked network card.
리턴 void

OpenPluginManager() 공개 메소드

public OpenPluginManager ( ) : void
리턴 void

RefreshResolverListAsync() 공개 메소드

Refresh the resolver list from the newest csv file.
public RefreshResolverListAsync ( ) : void
리턴 void

SavePrimaryPort() 공개 메소드

public SavePrimaryPort ( ) : void
리턴 void

ShowOverlay() 공개 메소드

Overlay management for MetroMessageBoxViewModel.
public ShowOverlay ( ) : void
리턴 void

UninstallServices() 공개 메소드

Uninstall all installed dnscrypt-proxy services.
public UninstallServices ( ) : void
리턴 void