mirror of https://github.com/abpframework/abp.git
4 changed files with 22 additions and 38 deletions
@ -1,17 +0,0 @@ |
|||||
using System.Collections.Generic; |
|
||||
|
|
||||
namespace Volo.CmsKit.Blogs |
|
||||
{ |
|
||||
public class BlogFeatureEqualityComparer : IEqualityComparer<BlogFeature> |
|
||||
{ |
|
||||
public bool Equals(BlogFeature x, BlogFeature y) |
|
||||
{ |
|
||||
return x?.BlogId == y?.BlogId && x?.FeatureName == y?.FeatureName; |
|
||||
} |
|
||||
|
|
||||
public int GetHashCode(BlogFeature obj) |
|
||||
{ |
|
||||
return obj.GetHashCode(); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue