Skip to content

Commit

Permalink
add abstract property
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiningRush committed Jan 5, 2018
1 parent 1d53e05 commit 6824be4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageReference Include="Castle.Windsor" Version="3.4.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Castle.Windsor" Version="4.1.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/ServiceAnt/Handler/SingletonHandlerFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace ServiceAnt.Handler
{
public class SingletonHandlerFactory : IHandlerFactory
internal class SingletonHandlerFactory : IHandlerFactory
{
private IHandler _instance;
private Type _localEventType;
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceAnt/Handler/TransportTray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace ServiceAnt.Handler
{
public class TransportTray
public abstract class TransportTray
{
public TransportTray()
{
Expand All @@ -18,7 +18,7 @@ public TransportTray()
public DateTime CreationDate { get; }
}

public class TransportTray<TEntity> : TransportTray
public abstract class TransportTray<TEntity> : TransportTray
{
public TEntity TransportEntity { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/ServiceAnt/ServiceAnt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.6' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@
<ProjectReference Include="..\..\src\ServiceAnt.IocInstaller.Castle\ServiceAnt.IocInstaller.Castle.csproj" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
<PackageReference Include="Castle.Windsor" Version="3.3.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
<PackageReference Include="Castle.Windsor" Version="4.1.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
</ItemGroup>
Expand Down

0 comments on commit 6824be4

Please sign in to comment.