9.3.3.1 Defining the Interface; Listing 9-14 The Contents of the IOrderProcessor.cs File

chap09
Jason Zhu 2021-09-22 14:27:40 +10:00
parent 41f564e967
commit 021dd4d937
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
using SportsStore.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportsStore.Domain.Abstract
{
interface IOrderProcessor
{
void ProcessOrder(Cart cart, ShippingDetails shippingDetails);
}
}

View File

@ -72,6 +72,7 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Abstract\IOrderProcessor.cs" />
<Compile Include="Abstract\IProductRepository.cs" /> <Compile Include="Abstract\IProductRepository.cs" />
<Compile Include="Concrete\EFDbContext.cs" /> <Compile Include="Concrete\EFDbContext.cs" />
<Compile Include="Concrete\EFProductRepository.cs" /> <Compile Include="Concrete\EFProductRepository.cs" />