You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using as here, fixes CS8600 - Converting null literal or possible null value to non-nullable type.
Razor renders C# // comments when they are not within code blocks!
Copy file name to clipboardExpand all lines: 16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/block-editor/block-list-editor.md
varsettings=Model.SettingsasContentModels.MyElementTypeAliasOfContent; // using as here, fixes CS8600 - Converting null literal or possible null value to non-nullable type.
152
152
}
153
153
154
-
// Output the value of field with alias 'heading' from the Element Type selected as Content section
154
+
@{ // Output the value of field with alias 'heading' from the Element Type selected as Content section }@
155
155
<h1>@content.Value("heading")</h1>
156
156
```
157
157
158
158
WithModelsBuilder:
159
159
160
160
```csharp
161
-
// Output the value of field with alias 'heading' from the Element Type selected as Content section
161
+
@{ // Output the value of field with alias 'heading' from the Element Type selected as Content section }@
0 commit comments