FileSystemEmbeddedFontLoader(String, IServiceProvider) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance FileSystemEmbeddedFontLoader.
public FileSystemEmbeddedFontLoader (string rootPath, IServiceProvider? serviceProvider = default);
new Microsoft.Maui.FileSystemEmbeddedFontLoader : string * IServiceProvider -> Microsoft.Maui.FileSystemEmbeddedFontLoader
Public Sub New (rootPath As String, Optional serviceProvider As IServiceProvider = Nothing)
Paramètres
- rootPath
- String
Chemin d’accès du système de fichiers de destination pour la police.
- serviceProvider
- IServiceProvider
L’application est IServiceProvider. En règle générale, cela est fourni via l’injection de dépendances à des fins de journalisation.
Exceptions
Levé quand rootPath a la valeur null.