private void Init() { RecycleBin = new RecycleBin(this); PublicationTargets = new RDList <IPublicationTarget>(GetPublicationTargets, Caching.Enabled); PublicationFolders = new RDList <IPublicationFolder>(GetPublicationFolders, Caching.Enabled); PublicationPackages = new RDList <IPublicationPackage>(GetPublicationPackages, Caching.Enabled); InfoAttributes = new IndexedCachedList <int, IInfoAttribute>(GetInfoAttributes, x => x.Id, Caching.Enabled); ContentClassFolders = new ContentClassFolders(this, Caching.Enabled); Folders = new Folders(this, Caching.Enabled); ProjectVariants = new ProjectVariants(this, Caching.Enabled); LanguageVariants = new LanguageVariants(this, Caching.Enabled); DatabaseConnections = new DatabaseConnections(this, Caching.Enabled); Syllables = new Syllables(this, Caching.Enabled); Users = new ProjectUsers(this, Caching.Enabled); Workflows = new ProjectWorkflow(this, Caching.Enabled); Categories = new Categories(this); Keywords = new RDList <IKeyword>(GetKeywords, Caching.Enabled); AssignedGroups = new ProjectGroups(this, Caching.Enabled); OnlineUsers = new NameIndexedRDList <IUser>(GetOnlineUsers, Caching.Enabled); _clipboard = new ProjectClipboard(this); //AuthorizationPackages = new AuthorizationPackages(this); }
private void Init(IProject project) { ContentClasses = new NameIndexedRDList <IContentClass>(GetContentClasses, Caching.Enabled); SharedTo = new ContentClassFolderSharing(this, Caching.Enabled); _project = project; _sharedFrom = new Lazy <IContentClassFolder>(GetSharedFrom); }
internal PublicationSetting(IPublicationSettings settings, XmlElement xmlElement) : base(settings.Project, xmlElement) { _exportFolderSettings = new NameIndexedRDList<IPublicationFolderSetting>(LoadExportFolderSettings, Caching.Enabled); _publicationSettings = settings; LoadXml(); }
internal PublicationSetting(IPublicationSettings settings, XmlElement xmlElement) : base(settings.Project, xmlElement) { _exportFolderSettings = new NameIndexedRDList <IPublicationFolderSetting>(LoadExportFolderSettings, Caching.Enabled); _publicationSettings = settings; LoadXml(); }
private void InitProperties() { LinkElements = new RDList<ILinkElement>(GetLinks, Caching.Enabled); ContentElements = new NameIndexedRDList<IPageElement>(GetContentElements, Caching.Enabled); ReferencedFrom = new RDList<ILinkElement>(GetReferencingLinks, Caching.Enabled); AssignedKeywords = new PageAssignedKeywords(this, Caching.Enabled); LinkedFrom = new RDList<ILinkingAndAppearance>(GetLinksFrom, Caching.Enabled); }
public Projects(ISession session, Caching caching) : base(caching) { _session = session; RetrieveFunc = GetProjects; ForCurrentUser = new NameIndexedRDList <IProject>(() => ForUser(_session.ServerManager.Users.Current.Guid).ToList(), Caching.Enabled); }
public AuthorizationPackages(IProject project) { Project = project; ForLinks = new NameIndexedRDList <IAuthorizationPackage>(GetForLinks, Caching.Enabled); ForElements = new NameIndexedRDList <IAuthorizationPackage>(GetForElements, Caching.Enabled); ForPages = new NameIndexedRDList <IAuthorizationPackage>(GetForPages, Caching.Enabled); Standard = new NameIndexedRDList <IAuthorizationPackage>(GetStandard, Caching.Enabled); }
public NameIndexedRDListTest() { _listCaching = new NameIndexedRDList <RedDotObjectHandle>(Objects, Caching.Enabled); _listNonCaching = new NameIndexedRDList <RedDotObjectHandle>(Objects, Caching.Disabled); }
internal ContentClassFolders(Project project, Caching caching) : base(caching) { _project = project; RetrieveFunc = GetContentClassFolders; Broken = new NameIndexedRDList <IContentClassFolder>(GetBrokenFolders, Caching.Enabled); }
public NameIndexedRDListTest() { _listCaching = new NameIndexedRDList<RedDotObjectHandle>(Objects, Caching.Enabled); _listNonCaching = new NameIndexedRDList<RedDotObjectHandle>(Objects, Caching.Disabled); }
private void InitProperties() { LinkElements = new RDList<ILinkElement>(GetLinks, Caching.Enabled); ContentElements = new NameIndexedRDList<IPageElement>(GetContentElements, Caching.Enabled); ReferencedFrom = new RDList<ILinkElement>(GetReferencingLinks, Caching.Enabled); AssignedKeywords = new PageAssignedKeywords(this, Caching.Enabled); LinkedFrom = new RDList<ILinkingAndAppearance>(GetLinksFrom, Caching.Enabled); }
private void Init(IProject project) { ContentClasses = new NameIndexedRDList<IContentClass>(GetContentClasses, Caching.Enabled); SharedTo = new ContentClassFolderSharing(this, Caching.Enabled); _project = project; _sharedFrom = new Lazy<IContentClassFolder>(GetSharedFrom); }