public static void MapFont(IEditorHandler handler, IEditor editor) { var fontManager = handler.GetRequiredService <IFontManager>(); handler.PlatformView?.UpdateFont(editor, fontManager); }
public static void MapFont(IEditorHandler handler, IEditor editor) => handler.PlatformView?.UpdateFont(editor, handler.GetRequiredService <IFontManager>());