-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2361442
commit 23c1ff4
Showing
14 changed files
with
213 additions
and
69 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated> | ||
// This code was generated by a tool. | ||
// | ||
// Umbraco.ModelsBuilder.Embedded v13.3.0+5b46c71 | ||
// | ||
// Changes to this file will be lost if the code is regenerated. | ||
// </auto-generated> | ||
//------------------------------------------------------------------------------ | ||
|
||
using System; | ||
using System.Linq.Expressions; | ||
using Umbraco.Cms.Core.Models.PublishedContent; | ||
using Umbraco.Cms.Core.PublishedCache; | ||
using Umbraco.Cms.Infrastructure.ModelsBuilder; | ||
using Umbraco.Cms.Core; | ||
using Umbraco.Extensions; | ||
|
||
namespace Umbraco.Cms.Web.Common.PublishedModels | ||
{ | ||
/// <summary>SkrivLet</summary> | ||
[PublishedModel("skrivLet")] | ||
public partial class SkrivLet : PublishedElementModel | ||
{ | ||
// helpers | ||
#pragma warning disable 0109 // new is redundant | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.3.0+5b46c71")] | ||
public new const string ModelTypeAlias = "skrivLet"; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.3.0+5b46c71")] | ||
public new const PublishedItemType ModelItemType = PublishedItemType.Content; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.3.0+5b46c71")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public new static IPublishedContentType GetModelContentType(IPublishedSnapshotAccessor publishedSnapshotAccessor) | ||
=> PublishedModelUtility.GetModelContentType(publishedSnapshotAccessor, ModelItemType, ModelTypeAlias); | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.3.0+5b46c71")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression<Func<SkrivLet, TValue>> selector) | ||
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); | ||
#pragma warning restore 0109 | ||
|
||
private IPublishedValueFallback _publishedValueFallback; | ||
|
||
// ctor | ||
public SkrivLet(IPublishedElement content, IPublishedValueFallback publishedValueFallback) | ||
: base(content, publishedValueFallback) | ||
{ | ||
_publishedValueFallback = publishedValueFallback; | ||
} | ||
|
||
// properties | ||
|
||
///<summary> | ||
/// SkrivLet | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.3.0+5b46c71")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("mainContent")] | ||
public virtual global::Umbraco.Community.SkrivLet.SkrivLetModel MainContent => this.Value<global::Umbraco.Community.SkrivLet.SkrivLetModel>(_publishedValueFallback, "mainContent"); | ||
} | ||
} |
Oops, something went wrong.