fix SoftNcRunner GM code normalization.
This commit is contained in:
@@ -155,6 +155,7 @@ Handles common initialization and cleanup tasks for visualization examples.</p>
|
||||
using Hi.HiNcKits;
|
||||
using Hi.Licenses;
|
||||
using Hi.WpfPlus.Disp;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Windows;
|
||||
|
||||
namespace Sample.Disp;
|
||||
@@ -179,7 +180,8 @@ public static class DemoUtil
|
||||
/// <param name="displayee">The object that implements IDisplayee to be rendered</param>
|
||||
public static void RunApplication(string title, IDisplayee displayee)
|
||||
{
|
||||
LocalApp.AppBegin();
|
||||
using var loggerFactory = Microsoft.Extensions.Logging.LoggerFactory.Create(b => b.AddConsole());
|
||||
LocalApp.AppBegin(loggerFactory.CreateLogger("Hi.Sample.Wpf"));
|
||||
Application app = new Application();
|
||||
app.Exit += (o, e) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user