Table of Contents

Class AppServices

Namespace
VpnHood.AppLib.App
Assembly
VpnHood.AppLib.App.dll

Provides the app's services and the providers it works through (Services), which the app makes and sets once, at its start.

public class AppServices : IDisposable
Inheritance
AppServices
Implements
Inherited Members

Properties

AccountService

Gets the account's service, or null for an app with no accounts (AccountProvider).

public required AccountService? AccountService { get; init; }

Property Value

AccountService

CultureProvider

Gets how the app reads and sets its language: the head's (CultureProvider), or the app's own, which keeps it in the settings.

public required IAppCultureProvider CultureProvider { get; init; }

Property Value

IAppCultureProvider

DeviceUiProvider

Gets what the app asks of the device's own UI: the head's (DeviceUiProvider), or a NullDeviceUiProvider, which supports none of it but takes a web browser as present.

public required IDeviceUiProvider DeviceUiProvider { get; init; }

Property Value

IDeviceUiProvider

ProxyEndPointService

Gets the proxies' service.

public required AppProxyEndPointService ProxyEndPointService { get; init; }

Property Value

AppProxyEndPointService

SplitCountryService

Gets the service of the split by country.

public required SplitCountryService SplitCountryService { get; init; }

Property Value

SplitCountryService

SplitDbPublisherService

Gets the service that hands the splits' databases to the VPN service.

public required SplitDbPublisherService SplitDbPublisherService { get; init; }

Property Value

SplitDbPublisherService

SplitDomainService

Gets the service of the split by domain.

public required SplitDomainService SplitDomainService { get; init; }

Property Value

SplitDomainService

SplitIpViaAppService

Gets the service of the split by IP address that the app applies.

public required SplitIpViaAppService SplitIpViaAppService { get; init; }

Property Value

SplitIpViaAppService

TrackerService

Gets the trackers' service.

public required AppTrackerService TrackerService { get; init; }

Property Value

AppTrackerService

UpdaterService

Gets the updates' service, or null for an app that looks for none (UpdaterOptions).

public required AppUpdaterService? UpdaterService { get; init; }

Property Value

AppUpdaterService

UserReviewProvider

Gets the store's in-app review (UserReviewProvider), or null.

public required IAppUserReviewProvider? UserReviewProvider { get; init; }

Property Value

IAppUserReviewProvider

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Remarks

It disposes the updates' service, the one service it owns.