MonoSoftware.MonoX.DAL.EntityClasses.NewsItemEntity.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<NewsFileEntity>(EntityFactoryCache2.GetEntityFactory(typeof(NewsFileEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<NewsItemLocalizationEntity>(EntityFactoryCache2.GetEntityFactory(typeof(NewsItemLocalizationEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<NewsPublishQueueEntity>(EntityFactoryCache2.GetEntityFactory(typeof(NewsPublishQueueEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<SnRelationshipEntity>(EntityFactoryCache2.GetEntityFactory(typeof(SnRelationshipEntityFactory))) : null);
        }