MonoSoftware.MonoX.DAL.EntityClasses.BlogEntity.CreateMemberEntityCollectionsQueue C# (CSharp) Method

CreateMemberEntityCollectionsQueue() protected method

Creates the member entity collections queue.
protected CreateMemberEntityCollectionsQueue ( Queue collectionsQueue, Queue requiredQueue ) : void
collectionsQueue Queue The collections queue.
requiredQueue Queue The required queue.
return void
        protected override void CreateMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue, Queue<bool> requiredQueue)
        {
            base.CreateMemberEntityCollectionsQueue(collectionsQueue, requiredQueue);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<BlogCategoryEntity>(EntityFactoryCache2.GetEntityFactory(typeof(BlogCategoryEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<BlogEditorEntity>(EntityFactoryCache2.GetEntityFactory(typeof(BlogEditorEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<BlogPostEntity>(EntityFactoryCache2.GetEntityFactory(typeof(BlogPostEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<SnRelationshipEntity>(EntityFactoryCache2.GetEntityFactory(typeof(SnRelationshipEntityFactory))) : null);
        }