PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/V1/trunk/Source/StockTraderRI/StockTraderRI.Modules.Position/PositionSummary/IPositionSummaryPresentationModel.cs

#
C# | 32 lines | 14 code | 2 blank | 16 comment | 0 complexity | 4ba8de11af79d43ab6a511e1ee5ff386 MD5 | raw file
 1//===============================================================================
 2// Microsoft patterns & practices
 3// Composite Application Guidance for Windows Presentation Foundation
 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
18using System.Collections.ObjectModel;
19using Microsoft.Practices.Composite.Wpf.Commands;
20using StockTraderRI.Infrastructure.Interfaces;
21using StockTraderRI.Modules.Position.Interfaces;
22
23namespace StockTraderRI.Modules.Position.PositionSummary
24{
25    public interface IPositionSummaryPresentationModel: IHeaderInfoProvider<string>
26    {
27        IPositionSummaryView View { get; }
28        ObservableCollection<PositionSummaryItem> PositionSummaryItems { get;  }
29        DelegateCommand<string> BuyCommand { get; }
30        DelegateCommand<string> SellCommand { get; }
31    }
32}