Migrated content controller + related

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Bjarke Berg
2020-06-09 13:48:50 +02:00
parent b9da273cbd
commit 609c1ffc5b
34 changed files with 1556 additions and 955 deletions

View File

@@ -10,6 +10,6 @@ namespace Umbraco.Web.Models.ContentEditing
public IEnumerable<DomainDisplay> Domains { get; set; }
[DataMember(Name = "language")]
public string Language { get; internal set; }
public string Language { get; set; }
}
}

View File

@@ -55,7 +55,7 @@ namespace Umbraco.Web.Models.ContentEditing
//Non explicit internal getter so we don't need to explicitly cast in our own code
[IgnoreDataMember]
internal IContent PersistedContent
public IContent PersistedContent
{
get => ((IContentSave<IContent>)this).PersistedContent;
set => ((IContentSave<IContent>)this).PersistedContent = value;

View File

@@ -68,6 +68,6 @@ namespace Umbraco.Web.Models.ContentEditing
/// Used internally during model mapping
/// </summary>
[IgnoreDataMember]
internal IDataEditor PropertyEditor { get; set; }
public IDataEditor PropertyEditor { get; set; }
}
}

View File

@@ -69,6 +69,6 @@ namespace Umbraco.Web.Models.ContentEditing
/// This is not used for outgoing model information.
/// </remarks>
[IgnoreDataMember]
internal ContentPropertyCollectionDto PropertyCollectionDto { get; set; }
public ContentPropertyCollectionDto PropertyCollectionDto { get; set; }
}
}