-
Home
-
API
-
Markdig.Syntax
-
MarkdownObjectDataExtensions
-
Methods
-
GetData(IMarkdownObject)
GetData(IMarkdownObject) Method
Definition
Gets the data associated with the conventional type key (typeof(T)).
public static T? GetData<T>(this IMarkdownObject markdownObject)
Type parameters
Parameters
Returns
- {T}
- The stored value if it matches
T; otherwise default.