mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #425] [MERGED] Add IReadOnlyList interface to ContainerBlock to unify and simplify e… #1016
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/425
Author: @lellid
Created: 4/19/2020
Status: ✅ Merged
Merged: 4/22/2020
Merged by: @xoofx
Base:
master← Head:ContainerReadonlyList📝 Commits (1)
920ab6cAdd IReadonlyList interface to ContainerBlock to unify and simplify enumeration📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/Markdig/Syntax/ContainerBlock.cs(+1 -1)📄 Description
Problem:
ContainerBlockimplements theIList<Block>interface, but this interface does not contain theIReadOnlyList<Block>In order to simplify and unify the enumeration of child items, add the
IReadOnlyList<Block>interface toContainerBlock.ContainerBlockalready contains the neccessary implementations of theIReadOnlyList<Block>interface.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.