mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 05:23:33 +08:00

--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044436
13 lines
425 B
C#
13 lines
425 B
C#
using Orchard.Data;
|
|
using Orchard.ContentManagement.Handlers;
|
|
using Orchard.Users.Controllers;
|
|
|
|
namespace Orchard.Users.Models {
|
|
public class UserHandler : ContentHandler {
|
|
public UserHandler(IRepository<UserRecord> repository) {
|
|
Filters.Add(new ActivatingFilter<User>(UserDriver.ContentType.Name));
|
|
Filters.Add(new StorageFilter<UserRecord>(repository));
|
|
}
|
|
}
|
|
}
|