File: ImageSources\FontImageSourceService\FontImageSourceService.cs
Web Access
Project: src\src\Core\src\Core.csproj (Microsoft.Maui)
#nullable enable
using Microsoft.Extensions.Logging;
 
namespace Microsoft.Maui
{
	public partial class FontImageSourceService : ImageSourceService, IImageSourceService<IFontImageSource>
	{
		public FontImageSourceService(IFontManager fontManager)
			: this(fontManager, null)
		{
		}
 
		public FontImageSourceService(IFontManager fontManager, ILogger<FontImageSourceService>? logger = null)
			: base(logger)
		{
			FontManager = fontManager;
		}
 
		public IFontManager FontManager { get; }
	}
}