Migrated content controller + related
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user