Method FromBlocks
FromBlocks(Block, Block)
Creates a range spanning two blocks and everything between them, inclusive.
public static DocumentRange FromBlocks(Block start, Block end)
Parameters
Returns
- DocumentRange
The range.
Exceptions
- ArgumentNullException
An argument is null.
- ArgumentException
The blocks have different parents, are detached, or
endprecedesstart.