Partager via


EmbeddedFontLoader Constructors

Definition

Overloads

EmbeddedFontLoader()

Creates a new EmbeddedFontLoader instance.

EmbeddedFontLoader(IServiceProvider)

Creates a new EmbeddedFontLoader instance.

EmbeddedFontLoader()

Source:
EmbeddedFontLoader.cs
Source:
EmbeddedFontLoader.cs

Creates a new EmbeddedFontLoader instance.

public:
 EmbeddedFontLoader();
public EmbeddedFontLoader ();
Public Sub New ()

Applies to

EmbeddedFontLoader(IServiceProvider)

Source:
EmbeddedFontLoader.cs
Source:
EmbeddedFontLoader.cs

Creates a new EmbeddedFontLoader instance.

public EmbeddedFontLoader (IServiceProvider? serviceProvider = default);
new Microsoft.Maui.EmbeddedFontLoader : IServiceProvider -> Microsoft.Maui.EmbeddedFontLoader
Public Sub New (Optional serviceProvider As IServiceProvider = Nothing)

Parameters

serviceProvider
IServiceProvider

The applications IServiceProvider. Typically this is provided through dependency injection.

Applies to