IMarkdownObject Interface
Base interface for a the Markdown syntax tree
public interface IMarkdownObjectMethods
| Name | Description |
|---|---|
| ContainsData(object) | Determines whether this instance contains the specified key data. |
| GetData(object) | Gets the associated data for the specified key. |
| RemoveData(object) | Removes the associated data for the specified key. |
| SetData(object, object) | Stores a key/value pair for this instance. |
ContainsData(object)
Determines whether this instance contains the specified key data.
Parameters
keyobject- The key.
Returns
bool true if a data with the key is stored
Exceptions
ArgumentNullException- if key is null
GetData(object)
Gets the associated data for the specified key.
Parameters
keyobject- The key.
Returns
object? The associated data or null if none
Exceptions
ArgumentNullException- if key is null