/V1/trunk/Source/StockTraderRI/StockTraderRI.Modules.Position.Tests/Mocks/MockOrdersController.cs
C# | 45 lines | 24 code | 5 blank | 16 comment | 0 complexity | ca2742d0d2545b88c1f143c14d50d02e MD5 | raw file
- //===============================================================================
- // Microsoft patterns & practices
- // Composite Application Guidance for Windows Presentation Foundation
- //===============================================================================
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
- // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
- // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- // FITNESS FOR A PARTICULAR PURPOSE.
- //===============================================================================
- // The example companies, organizations, products, domain names,
- // e-mail addresses, logos, people, places, and events depicted
- // herein are fictitious. No association with any real company,
- // organization, product, domain name, email address, logo, person,
- // places, or events is intended or should be inferred.
- //===============================================================================
-
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Microsoft.Practices.Composite.Wpf.Commands;
- using StockTraderRI.Modules.Position.Controllers;
-
- namespace StockTraderRI.Modules.Position.Tests.Mocks
- {
- public class MockOrdersController : IOrdersController
- {
- #region IOrdersController Members
-
- DelegateCommand<string> _buyCommand = new DelegateCommand<string>(delegate { });
- public DelegateCommand<string> BuyCommand
- {
- get { return _buyCommand; }
- }
-
- DelegateCommand<string> _sellCommand = new DelegateCommand<string>(delegate { });
- public DelegateCommand<string> SellCommand
- {
- get { return _sellCommand; }
- }
-
- #endregion
- }
- }