remove unused dir

This commit is contained in:
markpollack
2008-08-14 14:17:33 +00:00
parent f595ed95c7
commit 6f06732d37
6 changed files with 0 additions and 174 deletions

View File

@@ -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")]

View File

@@ -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;
}
}
}

View File

@@ -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;
}
}
}
}

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net">
<object name="CreditCheckService" type="Spring.NmsQuickStart.Server.Services.Stubs.CreditCheckServiceStub, Spring.NmsQuickStart.Server.Stubs"/>
<object name="ExecutionVenueService" type="Spring.NmsQuickStart.Server.Services.Stubs.ExecutionVenueServiceStub, Spring.NmsQuickStart.Server.Stubs"/>
<object name="TradingService" type="Spring.NmsQuickStart.Server.Services.Stubs.TradingServiceStub, Spring.NmsQuickStart.Server.Stubs"/>
</objects>

View File

@@ -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.
}
}
}

View File

@@ -1,62 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{BC9D5FA7-CAD7-4131-92A6-D29649BF6198}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Spring.NmsQuickStart.Server</RootNamespace>
<AssemblyName>Spring.NmsQuickStart.Server.Stubs</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\Stubs\CreditCheckServiceStub.cs" />
<Compile Include="Services\Stubs\ExecutionVenueServiceStub.cs" />
<Compile Include="Services\Stubs\TradingServiceStub.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Spring.NmsQuickStart.Common\Spring.NmsQuickStart.Common.csproj">
<Project>{AC5A3035-75DD-48E5-ABCA-38FBC8193F22}</Project>
<Name>Spring.NmsQuickStart.Common</Name>
</ProjectReference>
<ProjectReference Include="..\Spring.NmsQuickStart.Server\Spring.NmsQuickStart.Server.csproj">
<Project>{85E7B947-8153-45E4-B572-BEDB191F1FB2}</Project>
<Name>Spring.NmsQuickStart.Server</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Services\Stubs\ServiceStubs.xml" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>