PageRenderTime 47ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/V4/StockTrader RI/Desktop/StockTraderRI.Modules.Position/Interfaces/IOrdersView.cs

#
C# | 30 lines | 9 code | 1 blank | 20 comment | 0 complexity | f09d4c9968ae109ee938a3a187f9753e 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 StockTraderRI.Modules.Position.Orders;
  18. using System.Diagnostics.CodeAnalysis;
  19. namespace StockTraderRI.Modules.Position.Interfaces
  20. {
  21. [SuppressMessage("Microsoft.Design", "CA1040:AvoidEmptyInterfaces", Justification="This interface is used as a contract type in the MEF container.")]
  22. public interface IOrdersView
  23. {
  24. // The OrdersController.ShowOrdersView method adds an OrdersView to the action region.
  25. // The OrdersView implements this interface and is exported in the container.
  26. // Therefore, the OrdersController is abstracted of the concrete implementation of the view,
  27. // while still being able of retrieving it from the container and adding it to a region.
  28. }
  29. }