V10: ContentModel<TContent> constructor's content parameter should be nullable? #12490
tormnator
started this conversation in
Features and ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The ContentModel<TContent>'s constructor:
public ContentModel(TContent content)
The base (non-generic) ContentModel's constructor:
public ContentModel(IPublishedContent? content)
Notice the nullable ? here. I assume one of these two is correct, and the other wrong?
Beta Was this translation helpful? Give feedback.
All reactions