mirror of
https://github.com/xoofx/markdig.git
synced 2026-10-08 14:48:32 +00:00
[PR #425] Add IReadOnlyList interface to ContainerBlock to unify and simplify e… #1021
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?
Original Pull Request: https://github.com/xoofx/markdig/pull/425
State: closed
Merged: Yes
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.