From 6f06732d37d814659ffcb4c6e4e233af94a13914 Mon Sep 17 00:00:00 2001 From: markpollack Date: Thu, 14 Aug 2008 14:17:33 +0000 Subject: [PATCH] remove unused dir --- .../Properties/AssemblyInfo.cs | 35 ----------- .../Services/Stubs/CreditCheckServiceStub.cs | 16 ----- .../Stubs/ExecutionVenueServiceStub.cs | 36 ----------- .../Services/Stubs/ServiceStubs.xml | 10 --- .../Services/Stubs/TradingServiceStub.cs | 15 ----- .../Spring.NmsQuickStart.Server.Stubs.csproj | 62 ------------------- 6 files changed, 174 deletions(-) delete mode 100644 examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Properties/AssemblyInfo.cs delete mode 100644 examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/CreditCheckServiceStub.cs delete mode 100644 examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ExecutionVenueServiceStub.cs delete mode 100644 examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ServiceStubs.xml delete mode 100644 examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/TradingServiceStub.cs delete mode 100644 examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Spring.NmsQuickStart.Server.Stubs.csproj diff --git a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Properties/AssemblyInfo.cs b/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Properties/AssemblyInfo.cs deleted file mode 100644 index 4cdaa4ff..00000000 --- a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Spring.NmsQuickStart.Server.Stubs")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Spring.NmsQuickStart.Server.Stubs")] -[assembly: AssemblyCopyright("Copyright © 2008")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("8df3564f-6dc6-44c6-9887-4abddbbb3a27")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/CreditCheckServiceStub.cs b/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/CreditCheckServiceStub.cs deleted file mode 100644 index 45194d8e..00000000 --- a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/CreditCheckServiceStub.cs +++ /dev/null @@ -1,16 +0,0 @@ - - -using System.Collections; -using Spring.NmsQuickStart.Common.Data; -using Spring.NmsQuickStart.Server.Services; - -namespace Spring.NmsQuickStart.Server.Stubs.Services.Stubs -{ - public class CreditCheckServiceStub : ICreditCheckService - { - public bool CanExecute(TradeRequest tradeRequest, IList errors) - { - return true; - } - } -} \ No newline at end of file diff --git a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ExecutionVenueServiceStub.cs b/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ExecutionVenueServiceStub.cs deleted file mode 100644 index df611e2c..00000000 --- a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ExecutionVenueServiceStub.cs +++ /dev/null @@ -1,36 +0,0 @@ - - -using System; -using Spring.NmsQuickStart.Common.Data; -using Spring.NmsQuickStart.Server.Services; - -namespace Spring.NmsQuickStart.Server.Stubs.Services.Stubs -{ - public class ExecutionVenueServiceStub : IExecutionVenueService - { - public TradeResponse ExecuteTradeRequest(TradeRequest request) - { - TradeResponse response = new TradeResponse(); - response.OrderType = request.OrderType; - response.Price = CalculatePrice(request.Ticker, request.Quantity, request.OrderType, request.Price, request.UserName); - response.Quantity = request.Quantity; - response.Ticker = request.Ticker; - response.ConfirmationNumber = new Guid().ToString(); - return response; - } - - private decimal CalculatePrice(string ticker, long quantity, string ordertype, decimal limitPrice, string userName) - { - // provide as sophisticed an impl as testing requires...for now all the same price. - if (ordertype.CompareTo("LIMIT") == 0) - { - return limitPrice; - } - else - { - return 27.6m; - } - - } - } -} \ No newline at end of file diff --git a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ServiceStubs.xml b/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ServiceStubs.xml deleted file mode 100644 index 65a783bc..00000000 --- a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/ServiceStubs.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/TradingServiceStub.cs b/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/TradingServiceStub.cs deleted file mode 100644 index 7a58ee4b..00000000 --- a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Services/Stubs/TradingServiceStub.cs +++ /dev/null @@ -1,15 +0,0 @@ - - -using Spring.NmsQuickStart.Common.Data; -using Spring.NmsQuickStart.Server.Services; - -namespace Spring.NmsQuickStart.Server.Stubs.Services.Stubs -{ - public class TradingServiceStub : ITradingService - { - public void ProcessTrade(TradeRequest request, TradeResponse response) - { - //do nothing implementation, typical implementations would persist state to the database. - } - } -} \ No newline at end of file diff --git a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Spring.NmsQuickStart.Server.Stubs.csproj b/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Spring.NmsQuickStart.Server.Stubs.csproj deleted file mode 100644 index e89197dd..00000000 --- a/examples/Spring/Spring.NmsQuickStart/src/Spring/Spring.NmsQuickStart.Server.Stubs/Spring.NmsQuickStart.Server.Stubs.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {BC9D5FA7-CAD7-4131-92A6-D29649BF6198} - Library - Properties - Spring.NmsQuickStart.Server - Spring.NmsQuickStart.Server.Stubs - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - {AC5A3035-75DD-48E5-ABCA-38FBC8193F22} - Spring.NmsQuickStart.Common - - - {85E7B947-8153-45E4-B572-BEDB191F1FB2} - Spring.NmsQuickStart.Server - - - - - - - - \ No newline at end of file