PageRenderTime 47ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/V2.2/trunk/Quickstarts/Commanding/Desktop/Commanding/App.xaml.cs

#
C# | 39 lines | 18 code | 2 blank | 19 comment | 0 complexity | 7b2795f8477106f84b665084c73f608d MD5 | raw file
  1. //===================================================================================
  2. // Microsoft patterns & practices
  3. // Composite Application Guidance for Windows Presentation Foundation and Silverlight
  4. //===================================================================================
  5. // Copyright (c) Microsoft Corporation. All rights reserved.
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
  7. // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
  8. // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  9. // FITNESS FOR A PARTICULAR PURPOSE.
  10. //===================================================================================
  11. // The example companies, organizations, products, domain names,
  12. // e-mail addresses, logos, people, places, and events depicted
  13. // herein are fictitious. No association with any real company,
  14. // organization, product, domain name, email address, logo, person,
  15. // places, or events is intended or should be inferred.
  16. //===================================================================================
  17. using System;
  18. using System.Collections.Generic;
  19. using System.Configuration;
  20. using System.Data;
  21. using System.Linq;
  22. using System.Windows;
  23. namespace Commanding
  24. {
  25. /// <summary>
  26. /// Interaction logic for App.xaml
  27. /// </summary>
  28. public partial class App : Application
  29. {
  30. protected override void OnStartup(StartupEventArgs e)
  31. {
  32. base.OnStartup(e);
  33. CommandingBootstrapper bootstrapper = new CommandingBootstrapper();
  34. bootstrapper.Run();
  35. }
  36. }
  37. }