public IndexedPartition AddBlocks(Block indexBlock, Block contentBlock) { return(new IndexedPartition { IndexBlocks = IndexBlocks.Add(indexBlock), ContentBlocks = ContentBlocks.Add(contentBlock) }); }
public IEnumerable <Block> GetAllBlocks() { return(IndexBlocks .Concat(ContentBlocks)); }