Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Blog.Core.Api/Filter/AutofacPropertityModuleReg.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Autofac;
using Microsoft.AspNetCore.Mvc;

namespace Blog.Core.Extensions
namespace Blog.Core.Filter
{
public class AutofacPropertityModuleReg : Autofac.Module
{
Expand Down
2 changes: 1 addition & 1 deletion Blog.Core.Common/Blog.Core.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<PackageReference Include="Serilog.Sinks.Elasticsearch" Version="9.0.3" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="StackExchange.Redis" Version="2.7.4" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.0.3" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.2.0" />
<PackageReference Include="Serilog.Sinks.RollingFile" Version="3.3.1-dev-00771" />

<PackageReference Include="Serilog" Version="3.1.1" />
Expand Down
2 changes: 1 addition & 1 deletion Blog.Core.Common/Extensions/Extention.Expression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public static Expression<Func<T, bool>> And<T>(this Expression<Func<T, bool>> on
var parameterReplacer = new ParameterReplaceVisitor(newParameter);
var left = parameterReplacer.Visit(one.Body);
var right = parameterReplacer.Visit(another.Body);
var body = Expression.And(left, right);
var body = Expression.AndAlso(left, right);

return Expression.Lambda<Func<T, bool>>(body, newParameter);
}
Expand Down