Skip to content

Commit

Permalink
Updated to support ISingleResultSpecification
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis committed Mar 1, 2021
1 parent e12177d commit 8ce5dc5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion FrontDesk/src/FrontDesk.Core/FrontDesk.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ItemGroup>
<PackageReference Include="Ardalis.GuardClauses" Version="3.1.0" />
<PackageReference Include="Ardalis.Result" Version="3.1.0" />
<PackageReference Include="Ardalis.Specification" Version="5.0.0-beta" />
<PackageReference Include="Ardalis.Specification" Version="5.0.1-beta" />
<PackageReference Include="MediatR" Version="9.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="PluralsightDdd.SharedKernel" Version="1.1.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace FrontDesk.Core.Specifications
{
public class ClientByIdIncludePatientsSpecification : Specification<Client>
public class ClientByIdIncludePatientsSpecification : Specification<Client>, ISingleResultSpecification
{
public ClientByIdIncludePatientsSpecification(int clientId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace FrontDesk.Core.Specifications
{
public class ScheduleByIdWithAppointmentsSpec : Specification<Schedule>
public class ScheduleByIdWithAppointmentsSpec : Specification<Schedule>, ISingleResultSpecification
{
public ScheduleByIdWithAppointmentsSpec(Guid scheduleId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace FrontDesk.Core.Specifications
{
public class ScheduleForClinicAndDate : Specification<Schedule>
public class ScheduleForClinicAndDate : Specification<Schedule>, ISingleResultSpecification
{
public ScheduleForClinicAndDate(int clinicId, DateTime date)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ardalis.Specification.EntityFrameworkCore" Version="5.0.0-beta" />
<PackageReference Include="Ardalis.Specification.EntityFrameworkCore" Version="5.0.1-beta" />
<PackageReference Include="Autofac" Version="6.1.0" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="7.1.0" />
<PackageReference Include="Ardalis.EFCore.Extensions" Version="1.1.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<Summary>Includes common abstractions and base types.</Summary>
<RepositoryUrl>https://github.com/ardalis/pluralsight-ddd-fundamentals</RepositoryUrl>
<PackageTags>aspnet asp.net aspnetcore asp.net core ddd dddesign value object entity aggregate domain event pluralsight</PackageTags>
<PackageReleaseNotes>Updating to Ardalis.Specification v5.</PackageReleaseNotes>
<Version>1.1.0</Version>
<PackageReleaseNotes>Updating to Ardalis.Specification v5.0.1.</PackageReleaseNotes>
<Version>1.1.1-beta</Version>
<AssemblyName>PluralsightDdd.SharedKernel</AssemblyName>
<PackageIconUrl>https://user-images.githubusercontent.com/782127/33497760-facf6550-d69c-11e7-94e4-b3856da259a9.png</PackageIconUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand All @@ -24,7 +24,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ardalis.Specification" Version="5.0.0-beta" />
<PackageReference Include="Ardalis.Specification" Version="5.0.1-beta" />
<PackageReference Include="MediatR" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
Expand Down

0 comments on commit 8ce5dc5

Please sign in to comment.