Пример #1
0
 public ContentRegistryCache(IContentFolderService folders)
 {
     _images = new ContentFiles(folders, ContentType.images);
     _scripts = new ContentFiles(folders, ContentType.scripts);
     _styles = new ContentFiles(folders, ContentType.styles);
 }
Пример #2
0
 public void SetUp()
 {
     folders = MockRepository.GenerateMock<IContentFolderService>();
     theContentFiles = new ContentFiles(folders, ContentType.images);
 }
Пример #3
0
 public ContentRegistryCache(IContentFolderService folders)
 {
     _images  = new ContentFiles(folders, ContentType.images);
     _scripts = new ContentFiles(folders, ContentType.scripts);
     _styles  = new ContentFiles(folders, ContentType.styles);
 }