Another refinement of the content api.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041636
This commit is contained in:
loudej
2009-11-21 09:17:22 +00:00
parent 4ada0e0996
commit 953c83fe78
67 changed files with 266 additions and 192 deletions

View File

@@ -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));
}