Finish up Web.Backoffice

This commit is contained in:
Nikolaj Geisle
2022-04-01 14:35:18 +02:00
parent 1a6f0e4d7b
commit 70a00901b4
45 changed files with 552 additions and 410 deletions

View File

@@ -36,7 +36,7 @@ namespace Umbraco.Cms.Core.Models.ContentEditing
//These need explicit implementation because we are using internal models
/// <inheritdoc />
[IgnoreDataMember]
TPersisted? IContentSave<TPersisted>.PersistedContent { get; set; }
TPersisted IContentSave<TPersisted>.PersistedContent { get; set; }
//Non explicit internal getter so we don't need to explicitly cast in our own code
[IgnoreDataMember]

View File

@@ -50,11 +50,11 @@ namespace Umbraco.Cms.Core.Models.ContentEditing
//These need explicit implementation because we are using internal models
/// <inheritdoc />
[IgnoreDataMember]
IContent? IContentSave<IContent>.PersistedContent { get; set; }
IContent IContentSave<IContent>.PersistedContent { get; set; }
//Non explicit internal getter so we don't need to explicitly cast in our own code
[IgnoreDataMember]
public IContent? PersistedContent
public IContent PersistedContent
{
get => ((IContentSave<IContent>)this).PersistedContent;
set => ((IContentSave<IContent>)this).PersistedContent = value;

View File

@@ -18,6 +18,6 @@
/// <remarks>
/// This is not used for outgoing model information.
/// </remarks>
TPersisted? PersistedContent { get; set; }
TPersisted PersistedContent { get; set; }
}
}