Beispiel #1
0
        public static void MapFont(EditorHandler handler, IEditor editor)
        {
            var fontManager = handler.GetRequiredService <IFontManager>();

            handler.NativeView?.UpdateFont(editor, fontManager);
        }
Beispiel #2
0
 public static void MapFont(EditorHandler handler, IEditor editor) =>
 handler.NativeView?.UpdateFont(editor, handler.GetRequiredService <IFontManager>());