Table of Contents

Class AssetProviderExtensions

Namespace
VpnHood.Net.Toolkit.Assets
Assembly
VpnHood.Net.Toolkit.dll

Provides opening for a caller that only asks: null instead of AssetNotFoundException.

public static class AssetProviderExtensions
Inheritance
AssetProviderExtensions
Inherited Members

Remarks

Asking is normal: a language falls back to another, a picture that is not there shows nothing, a server answers 404. Only what the provider classes as absent becomes null; a file it finds and cannot open still fails. A file provider classes as absent a file Exists(string) cannot see.