break out Services.Contracts

This commit is contained in:
Collin M. Barrett 2017-04-11 20:14:56 -05:00
parent 2d1f482bb0
commit 02fda447aa
10 changed files with 34 additions and 4 deletions

View file

@ -1,4 +1,5 @@
using FilterLists.Services;
using FilterLists.Services.Contracts;
using Microsoft.AspNetCore.Mvc;
namespace FilterLists.Api.Controllers

View file

@ -25,6 +25,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FilterLists.Data\FilterLists.Data.csproj" />
<ProjectReference Include="..\FilterLists.Services.Contracts\FilterLists.Services.Contracts.csproj" />
<ProjectReference Include="..\FilterLists.Services\FilterLists.Services.csproj" />
</ItemGroup>
<ItemGroup>

View file

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
@ -10,4 +10,8 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\FilterLists.Models\FilterLists.Models.csproj" />
</ItemGroup>
</Project>

View file

@ -1,7 +1,7 @@
using System.Collections.Generic;
using FilterLists.Models;
namespace FilterLists.Services
namespace FilterLists.Services.Contracts
{
public interface IListService
{

View file

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
@ -10,4 +10,8 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
</Project>

View file

@ -1,4 +1,5 @@
using Microsoft.Extensions.DependencyInjection;
using FilterLists.Services.Contracts;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace FilterLists.Services.DependencyInjection.Extensions

View file

@ -11,6 +11,7 @@
<ItemGroup>
<ProjectReference Include="..\FilterLists.Data.Contracts\FilterLists.Data.Contracts.csproj" />
<ProjectReference Include="..\FilterLists.Models\FilterLists.Models.csproj" />
<ProjectReference Include="..\FilterLists.Services.Contracts\FilterLists.Services.Contracts.csproj" />
</ItemGroup>
</Project>

View file

@ -1,6 +1,7 @@
using System.Collections.Generic;
using FilterLists.Data.Contracts.Repositories;
using FilterLists.Models;
using FilterLists.Services.Contracts;
namespace FilterLists.Services
{

View file

@ -17,6 +17,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FilterLists.Services.Tests"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FilterLists.Data.Tests", "FilterLists.Data.Tests\FilterLists.Data.Tests.csproj", "{AE4E5758-92F3-4BFA-B71E-6A05F5E71FAC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FilterLists.Services.Contracts", "FilterLists.Services.Contracts\FilterLists.Services.Contracts.csproj", "{C001DB46-2DE7-40C1-B0F8-75E831C09E6C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -51,6 +53,10 @@ Global
{AE4E5758-92F3-4BFA-B71E-6A05F5E71FAC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AE4E5758-92F3-4BFA-B71E-6A05F5E71FAC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AE4E5758-92F3-4BFA-B71E-6A05F5E71FAC}.Release|Any CPU.Build.0 = Release|Any CPU
{C001DB46-2DE7-40C1-B0F8-75E831C09E6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C001DB46-2DE7-40C1-B0F8-75E831C09E6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C001DB46-2DE7-40C1-B0F8-75E831C09E6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C001DB46-2DE7-40C1-B0F8-75E831C09E6C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE