mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Another refinement of the content api.
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041636
This commit is contained in:
@@ -12,8 +12,8 @@ namespace Orchard.Tests.Models.Stubs {
|
||||
}
|
||||
|
||||
|
||||
public class GammaDriver : ContentHandler {
|
||||
public GammaDriver(IRepository<GammaRecord> repository){
|
||||
public class GammaProvider : ContentProvider {
|
||||
public GammaProvider(IRepository<GammaRecord> repository){
|
||||
Filters.Add(new ActivatingFilter<Gamma>(x => x == "gamma"));
|
||||
Filters.Add(new StorageFilterForRecord<GammaRecord>(repository));
|
||||
}
|
||||
|
Reference in New Issue
Block a user