/// <inheritdoc /> protected override void OnStartup(StartupEventArgs e) { CommandManagerDelegate.Instance = new WpfCommandManager(); MSBuildInitializer.Initialize(); ServiceLocatorInitializer.Initialize(); base.OnStartup(e); }
/// <inheritdoc /> protected override void OnStartup(StartupEventArgs e) { ServiceLocatorInitializer.Initialize(); Barrel.ApplicationId = "TemplateGenerator" + new Guid(); Barrel.Current.Add(key: "AppName", data: "YOURAPPNAME", TimeSpan.FromDays(30)); var appName = Barrel.Current.Get <string>(key: "AppName"); base.OnStartup(e); }