public void Initialize(ContentEngine engine) { if (engine.Resolve<AdminSection>().RecycleBin.Enabled) { engine.AddComponent("zeus.recycleBin", typeof(IRecycleBinHandler), typeof(RecycleBinHandler)); engine.AddComponent("zeus.deleteInterceptor", typeof(DeleteInterceptor)); } }
public void Initialize(ContentEngine engine) { engine.Resolve<ITypeFinder>().Find(typeof(IContextMenuPlugin)) .Where(t => !t.IsInterface && !t.IsAbstract) .ToList() .ForEach(t => engine.AddComponent(null, typeof(IContextMenuPlugin), t)); }
public void Initialize(ContentEngine engine) { engine.AddComponent("zeus.fileSystem.images.imageCachingService", typeof(ImageCachingService)); }
public void Initialize(ContentEngine engine) { engine.AddComponent("zeus.admin.navigationFlag.navigationCachingService", typeof(NavigationCachingService)); }