mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
13 lines
422 B
C#
13 lines
422 B
C#
![]() |
using JetBrains.Annotations;
|
|||
|
using Orchard.Blogs.Models;
|
|||
|
using Orchard.ContentManagement.Handlers;
|
|||
|
using Orchard.Data;
|
|||
|
|
|||
|
namespace Orchard.Blogs.Handlers {
|
|||
|
[UsedImplicitly]
|
|||
|
public class RecentBlogPostsPartHandler : ContentHandler {
|
|||
|
public RecentBlogPostsPartHandler(IRepository<RecentBlogPostsPartRecord> repository) {
|
|||
|
Filters.Add(StorageFilter.For(repository));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|