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