PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Handlers/VoteWidgetPartHandler.cs

#
C# | 11 lines | 10 code | 1 blank | 0 comment | 0 complexity | 750858d5cbb9e47b7b566bcd04b791f6 MD5 | raw file
 1using Contrib.Voting.Models;
 2using Orchard.ContentManagement.Handlers;
 3using Orchard.Data;
 4
 5namespace Contrib.Voting.Handlers {
 6    public class VoteWidgetPartHandler : ContentHandler {
 7        public VoteWidgetPartHandler(IRepository<VoteWidgetPartRecord> repository) {
 8            Filters.Add(StorageFilter.For(repository));
 9        }
10    }
11}