diff --git a/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db b/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db deleted file mode 100644 index e2a2455..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db-shm b/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db-shm deleted file mode 100644 index 3715e23..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db-shm and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db-wal b/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db-wal deleted file mode 100644 index db6124d..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.10.x/umbraco/Data/Umbraco.sqlite.db-wal and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/DistCache/96ae4044d08b4cac7bc1be76270dcc106475d8d9-lastsynced.txt b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/DistCache/96ae4044d08b4cac7bc1be76270dcc106475d8d9-lastsynced.txt deleted file mode 100644 index 8580e7b..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/DistCache/96ae4044d08b4cac7bc1be76270dcc106475d8d9-lastsynced.txt +++ /dev/null @@ -1 +0,0 @@ -30 \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/DistCache/a2ef898925ef833f2d79bf2c2fc8716dcc617649-lastsynced.txt b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/DistCache/a2ef898925ef833f2d79bf2c2fc8716dcc617649-lastsynced.txt deleted file mode 100644 index 1758ddd..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/DistCache/a2ef898925ef833f2d79bf2c2fc8716dcc617649-lastsynced.txt +++ /dev/null @@ -1 +0,0 @@ -32 \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfe b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfe deleted file mode 100644 index 4ebb02f..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfe and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfs b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfs deleted file mode 100644 index 7d768be..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfs and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.si b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.si deleted file mode 100644 index 5e9ae7d..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.si and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen deleted file mode 100644 index febdf39..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_a b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_a deleted file mode 100644 index 03837ce..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_a and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfe b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfe deleted file mode 100644 index a9faee9..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfe and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfs b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfs deleted file mode 100644 index 52f7efa..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfs and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.si b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.si deleted file mode 100644 index 5e9ae7d..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.si and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen deleted file mode 100644 index febdf39..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_a b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_a deleted file mode 100644 index 03837ce..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_a and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen deleted file mode 100644 index 4d15f5c..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments_15 b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments_15 deleted file mode 100644 index 6536ff1..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments_15 and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs979f8796d4c4492eced18d8c7cacddede9a09c65.dll b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs979f8796d4c4492eced18d8c7cacddede9a09c65.dll deleted file mode 100644 index bdbf1aa..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs979f8796d4c4492eced18d8c7cacddede9a09c65.dll and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path deleted file mode 100644 index 7f6282b..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path +++ /dev/null @@ -1 +0,0 @@ -C:\Development\Umbraco.Community.Sustainability\src\Umbraco.Community.Sustainability.TestSite.11.x\umbraco\Data\TEMP\InMemoryAuto\Compiled\generated.cs979f8796d4c4492eced18d8c7cacddede9a09c65.dll \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs deleted file mode 100644 index 25aff5d..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs +++ /dev/null @@ -1,1537 +0,0 @@ -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; -[assembly:ModelsBuilderAssembly(IsInMemory = true, SourceHash = "979f8796d4c4492eced18d8c7cacddede9a09c65")] -[assembly:System.Reflection.AssemblyVersion("0.0.0.1")] - - -// FILE: models.generated.cs - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Umbraco.ModelsBuilder.Embedded v11.0.0+d713b38 -// -// Changes to this file will be lost if the code is regenerated. -// -//------------------------------------------------------------------------------ - - - - - - - - - - - - -namespace Umbraco.Cms.Web.Common.PublishedModels -{ - /// Home - [PublishedModel("home")] - public partial class Home : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "home"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Home(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Color Theme - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("colorTheme")] - public virtual string ColorTheme => this.Value(_publishedValueFallback, "colorTheme"); - - /// - /// Font - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("font")] - public virtual string Font => this.Value(_publishedValueFallback, "font"); - - /// - /// Address - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerAddress")] - public virtual string FooterAddress => this.Value(_publishedValueFallback, "footerAddress"); - - /// - /// Call To Action Caption: Caption on the Call To Action Button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerCTACaption")] - public virtual string FooterCtacaption => this.Value(_publishedValueFallback, "footerCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("FooterCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent FooterCtalink => this.Value(_publishedValueFallback, "FooterCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerDescription")] - public virtual string FooterDescription => this.Value(_publishedValueFallback, "footerDescription"); - - /// - /// Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerHeader")] - public virtual string FooterHeader => this.Value(_publishedValueFallback, "footerHeader"); - - /// - /// Hero Background: Spice up the homepage by adding a beautiful photo that relates to your business - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroBackgroundImage")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroBackgroundImage => this.Value(_publishedValueFallback, "HeroBackgroundImage"); - - /// - /// Call To Action Caption: The caption on the button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroCTACaption")] - public virtual string HeroCtacaption => this.Value(_publishedValueFallback, "heroCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroCtalink => this.Value(_publishedValueFallback, "HeroCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroDescription")] - public virtual string HeroDescription => this.Value(_publishedValueFallback, "heroDescription"); - - /// - /// Header: This is the main headline for the hero area on the Homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroHeader")] - public virtual string HeroHeader => this.Value(_publishedValueFallback, "heroHeader"); - - /// - /// Page Title - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Logo: Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("SiteLogo")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent SiteLogo => this.Value(_publishedValueFallback, "SiteLogo"); - - /// - /// Sitename: Used on the homepage as well as the title and social cards - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sitename")] - public virtual string Sitename => this.Value(_publishedValueFallback, "sitename"); - } - - // Mixin Content Type with alias "contentBase" - /// Content Base - public partial interface IContentBase : IPublishedContent - { - /// Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::Newtonsoft.Json.Linq.JToken BodyText { get; } - - /// Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string PageTitle { get; } - } - - /// Content Base - [PublishedModel("contentBase")] - public partial class ContentBase : PublishedContentModel, IContentBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "contentBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => GetBodyText(this, _publishedValueFallback); - - /// Static getter for Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::Newtonsoft.Json.Linq.JToken GetBodyText(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "bodyText"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => GetPageTitle(this, _publishedValueFallback); - - /// Static getter for Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetPageTitle(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "pageTitle"); - } - - // Mixin Content Type with alias "navigationBase" - /// Navigation Base - public partial interface INavigationBase : IPublishedContent - { - /// Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::System.Collections.Generic.IEnumerable Keywords { get; } - - /// Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string SeoMetaDescription { get; } - - /// Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - bool UmbracoNavihide { get; } - } - - /// Navigation Base - [PublishedModel("navigationBase")] - public partial class NavigationBase : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "navigationBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public NavigationBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => GetKeywords(this, _publishedValueFallback); - - /// Static getter for Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::System.Collections.Generic.IEnumerable GetKeywords(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value>(publishedValueFallback, "keywords"); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => GetSeoMetaDescription(this, _publishedValueFallback); - - /// Static getter for Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetSeoMetaDescription(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "seoMetaDescription"); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => GetUmbracoNavihide(this, _publishedValueFallback); - - /// Static getter for Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public static bool GetUmbracoNavihide(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "umbracoNavihide"); - } - - /// Blog - [PublishedModel("blog")] - public partial class Blog : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "blog"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blog(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Disqus Shortname: To use comments, you'll need to sign up for Disqus and enter your shortname here (more info: https://help.disqus.com/customer/portal/articles/472097-universal-embed-code) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("disqusShortname")] - public virtual string DisqusShortname => this.Value(_publishedValueFallback, "disqusShortname"); - - /// - /// How many posts should be shown? - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("howManyPostsShouldBeShown")] - public virtual decimal HowManyPostsShouldBeShown => this.Value(_publishedValueFallback, "howManyPostsShouldBeShown"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Blogpost - [PublishedModel("blogpost")] - public partial class Blogpost : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "blogpost"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blogpost(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Categories (tags) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("categories")] - public virtual global::System.Collections.Generic.IEnumerable Categories => this.Value>(_publishedValueFallback, "categories"); - - /// - /// Excerpt: Introduction to your blog post. This is also used in the summaries on the front of the blog as well as the homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("excerpt")] - public virtual string Excerpt => this.Value(_publishedValueFallback, "excerpt"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Contact - [PublishedModel("contact")] - public partial class Contact : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "contact"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Contact(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Contact Form Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactFormHeader")] - public virtual string ContactFormHeader => this.Value(_publishedValueFallback, "contactFormHeader"); - - /// - /// Contact Intro - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactIntro")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString ContactIntro => this.Value(_publishedValueFallback, "contactIntro"); - - /// - /// Map Coordinates - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapCoordinates")] - public virtual global::Bergmania.OpenStreetMap.Core.OpenStreetMapModel MapCoordinates => this.Value(_publishedValueFallback, "mapCoordinates"); - - /// - /// Map Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapHeader")] - public virtual string MapHeader => this.Value(_publishedValueFallback, "mapHeader"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Content Page - [PublishedModel("contentPage")] - public partial class ContentPage : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "contentPage"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentPage(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Feature - [PublishedModel("feature")] - public partial class Feature : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "feature"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Feature(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Details - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureDetails")] - public virtual string FeatureDetails => this.Value(_publishedValueFallback, "featureDetails"); - - /// - /// Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureName")] - public virtual string FeatureName => this.Value(_publishedValueFallback, "featureName"); - } - - /// People - [PublishedModel("people")] - public partial class People : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "people"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public People(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Featured People - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredPeople")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedPeople => this.Value>(_publishedValueFallback, "featuredPeople"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Person - [PublishedModel("person")] - public partial class Person : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "person"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Person(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Department - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("department")] - public virtual global::System.Collections.Generic.IEnumerable Department => this.Value>(_publishedValueFallback, "department"); - - /// - /// Email - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("email")] - public virtual string Email => this.Value(_publishedValueFallback, "email"); - - /// - /// Facebook username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("facebookUsername")] - public virtual string FacebookUsername => this.Value(_publishedValueFallback, "facebookUsername"); - - /// - /// Instagram Username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("instagramUsername")] - public virtual string InstagramUsername => this.Value(_publishedValueFallback, "instagramUsername"); - - /// - /// LinkedIn username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("linkedInUsername")] - public virtual string LinkedInUsername => this.Value(_publishedValueFallback, "linkedInUsername"); - - /// - /// Photo - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photo => this.Value(_publishedValueFallback, "photo"); - - /// - /// Twitter username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("twitterUsername")] - public virtual string TwitterUsername => this.Value(_publishedValueFallback, "twitterUsername"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Product - [PublishedModel("product")] - public partial class Product : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "product"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Product(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Category - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("category")] - public virtual global::System.Collections.Generic.IEnumerable Category => this.Value>(_publishedValueFallback, "category"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("description")] - public virtual string Description => this.Value(_publishedValueFallback, "description"); - - /// - /// Features - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("features")] - public virtual global::System.Collections.Generic.IEnumerable Features => this.Value>(_publishedValueFallback, "features"); - - /// - /// Photos - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photos")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photos => this.Value(_publishedValueFallback, "photos"); - - /// - /// Price - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("price")] - public virtual decimal Price => this.Value(_publishedValueFallback, "price"); - - /// - /// Product Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("productName")] - public virtual string ProductName => this.Value(_publishedValueFallback, "productName"); - - /// - /// SKU - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sku")] - public virtual string Sku => this.Value(_publishedValueFallback, "sku"); - } - - /// Products - [PublishedModel("products")] - public partial class Products : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "products"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Products(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Default Currency: This is just used to prefix pricing - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("defaultCurrency")] - public virtual string DefaultCurrency => this.Value(_publishedValueFallback, "defaultCurrency"); - - /// - /// Featured Products - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredProducts")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedProducts => this.Value>(_publishedValueFallback, "featuredProducts"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Folder - [PublishedModel("Folder")] - public partial class Folder : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "Folder"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Folder(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Image - [PublishedModel("Image")] - public partial class Image : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "Image"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Image(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - - /// - /// Height: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoHeight")] - public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); - - /// - /// Width: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoWidth")] - public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); - } - - /// File - [PublishedModel("File")] - public partial class File : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "File"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public File(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// File - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Video - [PublishedModel("umbracoMediaVideo")] - public partial class UmbracoMediaVideo : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaVideo"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Video - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Audio - [PublishedModel("umbracoMediaAudio")] - public partial class UmbracoMediaAudio : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaAudio"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Audio - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Article - [PublishedModel("umbracoMediaArticle")] - public partial class UmbracoMediaArticle : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaArticle"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Article - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Vector Graphics (SVG) - [PublishedModel("umbracoMediaVectorGraphics")] - public partial class UmbracoMediaVectorGraphics : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaVectorGraphics"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Vector Graphics - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Member - [PublishedModel("Member")] - public partial class Member : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "Member"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Member; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Member(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Comments - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoMemberComments")] - public virtual string UmbracoMemberComments => this.Value(_publishedValueFallback, "umbracoMemberComments"); - } - -} - - - -// EOF diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs deleted file mode 100644 index 5efcadd..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs +++ /dev/null @@ -1,1520 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Umbraco.ModelsBuilder.Embedded v11.0.0+d713b38 -// -// Changes to this file will be lost if the code is regenerated. -// -//------------------------------------------------------------------------------ - -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; - -[assembly:ModelsBuilderAssembly(IsInMemory = true, SourceHash = "979f8796d4c4492eced18d8c7cacddede9a09c65")] -[assembly:System.Reflection.AssemblyVersion("0.0.0.1")] - -namespace Umbraco.Cms.Web.Common.PublishedModels -{ - /// Home - [PublishedModel("home")] - public partial class Home : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "home"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Home(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Color Theme - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("colorTheme")] - public virtual string ColorTheme => this.Value(_publishedValueFallback, "colorTheme"); - - /// - /// Font - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("font")] - public virtual string Font => this.Value(_publishedValueFallback, "font"); - - /// - /// Address - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerAddress")] - public virtual string FooterAddress => this.Value(_publishedValueFallback, "footerAddress"); - - /// - /// Call To Action Caption: Caption on the Call To Action Button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerCTACaption")] - public virtual string FooterCtacaption => this.Value(_publishedValueFallback, "footerCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("FooterCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent FooterCtalink => this.Value(_publishedValueFallback, "FooterCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerDescription")] - public virtual string FooterDescription => this.Value(_publishedValueFallback, "footerDescription"); - - /// - /// Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerHeader")] - public virtual string FooterHeader => this.Value(_publishedValueFallback, "footerHeader"); - - /// - /// Hero Background: Spice up the homepage by adding a beautiful photo that relates to your business - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroBackgroundImage")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroBackgroundImage => this.Value(_publishedValueFallback, "HeroBackgroundImage"); - - /// - /// Call To Action Caption: The caption on the button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroCTACaption")] - public virtual string HeroCtacaption => this.Value(_publishedValueFallback, "heroCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroCtalink => this.Value(_publishedValueFallback, "HeroCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroDescription")] - public virtual string HeroDescription => this.Value(_publishedValueFallback, "heroDescription"); - - /// - /// Header: This is the main headline for the hero area on the Homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroHeader")] - public virtual string HeroHeader => this.Value(_publishedValueFallback, "heroHeader"); - - /// - /// Page Title - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Logo: Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("SiteLogo")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent SiteLogo => this.Value(_publishedValueFallback, "SiteLogo"); - - /// - /// Sitename: Used on the homepage as well as the title and social cards - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sitename")] - public virtual string Sitename => this.Value(_publishedValueFallback, "sitename"); - } - - // Mixin Content Type with alias "contentBase" - /// Content Base - public partial interface IContentBase : IPublishedContent - { - /// Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::Newtonsoft.Json.Linq.JToken BodyText { get; } - - /// Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string PageTitle { get; } - } - - /// Content Base - [PublishedModel("contentBase")] - public partial class ContentBase : PublishedContentModel, IContentBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "contentBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => GetBodyText(this, _publishedValueFallback); - - /// Static getter for Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::Newtonsoft.Json.Linq.JToken GetBodyText(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "bodyText"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => GetPageTitle(this, _publishedValueFallback); - - /// Static getter for Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetPageTitle(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "pageTitle"); - } - - // Mixin Content Type with alias "navigationBase" - /// Navigation Base - public partial interface INavigationBase : IPublishedContent - { - /// Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::System.Collections.Generic.IEnumerable Keywords { get; } - - /// Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string SeoMetaDescription { get; } - - /// Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - bool UmbracoNavihide { get; } - } - - /// Navigation Base - [PublishedModel("navigationBase")] - public partial class NavigationBase : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "navigationBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public NavigationBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => GetKeywords(this, _publishedValueFallback); - - /// Static getter for Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::System.Collections.Generic.IEnumerable GetKeywords(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value>(publishedValueFallback, "keywords"); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => GetSeoMetaDescription(this, _publishedValueFallback); - - /// Static getter for Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetSeoMetaDescription(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "seoMetaDescription"); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => GetUmbracoNavihide(this, _publishedValueFallback); - - /// Static getter for Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public static bool GetUmbracoNavihide(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "umbracoNavihide"); - } - - /// Blog - [PublishedModel("blog")] - public partial class Blog : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "blog"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blog(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Disqus Shortname: To use comments, you'll need to sign up for Disqus and enter your shortname here (more info: https://help.disqus.com/customer/portal/articles/472097-universal-embed-code) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("disqusShortname")] - public virtual string DisqusShortname => this.Value(_publishedValueFallback, "disqusShortname"); - - /// - /// How many posts should be shown? - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("howManyPostsShouldBeShown")] - public virtual decimal HowManyPostsShouldBeShown => this.Value(_publishedValueFallback, "howManyPostsShouldBeShown"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Blogpost - [PublishedModel("blogpost")] - public partial class Blogpost : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "blogpost"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blogpost(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Categories (tags) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("categories")] - public virtual global::System.Collections.Generic.IEnumerable Categories => this.Value>(_publishedValueFallback, "categories"); - - /// - /// Excerpt: Introduction to your blog post. This is also used in the summaries on the front of the blog as well as the homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("excerpt")] - public virtual string Excerpt => this.Value(_publishedValueFallback, "excerpt"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Contact - [PublishedModel("contact")] - public partial class Contact : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "contact"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Contact(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Contact Form Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactFormHeader")] - public virtual string ContactFormHeader => this.Value(_publishedValueFallback, "contactFormHeader"); - - /// - /// Contact Intro - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactIntro")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString ContactIntro => this.Value(_publishedValueFallback, "contactIntro"); - - /// - /// Map Coordinates - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapCoordinates")] - public virtual global::Bergmania.OpenStreetMap.Core.OpenStreetMapModel MapCoordinates => this.Value(_publishedValueFallback, "mapCoordinates"); - - /// - /// Map Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapHeader")] - public virtual string MapHeader => this.Value(_publishedValueFallback, "mapHeader"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Content Page - [PublishedModel("contentPage")] - public partial class ContentPage : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "contentPage"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentPage(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Feature - [PublishedModel("feature")] - public partial class Feature : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "feature"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Feature(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Details - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureDetails")] - public virtual string FeatureDetails => this.Value(_publishedValueFallback, "featureDetails"); - - /// - /// Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureName")] - public virtual string FeatureName => this.Value(_publishedValueFallback, "featureName"); - } - - /// People - [PublishedModel("people")] - public partial class People : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "people"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public People(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Featured People - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredPeople")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedPeople => this.Value>(_publishedValueFallback, "featuredPeople"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Person - [PublishedModel("person")] - public partial class Person : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "person"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Person(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Department - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("department")] - public virtual global::System.Collections.Generic.IEnumerable Department => this.Value>(_publishedValueFallback, "department"); - - /// - /// Email - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("email")] - public virtual string Email => this.Value(_publishedValueFallback, "email"); - - /// - /// Facebook username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("facebookUsername")] - public virtual string FacebookUsername => this.Value(_publishedValueFallback, "facebookUsername"); - - /// - /// Instagram Username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("instagramUsername")] - public virtual string InstagramUsername => this.Value(_publishedValueFallback, "instagramUsername"); - - /// - /// LinkedIn username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("linkedInUsername")] - public virtual string LinkedInUsername => this.Value(_publishedValueFallback, "linkedInUsername"); - - /// - /// Photo - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photo => this.Value(_publishedValueFallback, "photo"); - - /// - /// Twitter username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("twitterUsername")] - public virtual string TwitterUsername => this.Value(_publishedValueFallback, "twitterUsername"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Product - [PublishedModel("product")] - public partial class Product : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "product"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Product(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Category - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("category")] - public virtual global::System.Collections.Generic.IEnumerable Category => this.Value>(_publishedValueFallback, "category"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("description")] - public virtual string Description => this.Value(_publishedValueFallback, "description"); - - /// - /// Features - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("features")] - public virtual global::System.Collections.Generic.IEnumerable Features => this.Value>(_publishedValueFallback, "features"); - - /// - /// Photos - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photos")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photos => this.Value(_publishedValueFallback, "photos"); - - /// - /// Price - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("price")] - public virtual decimal Price => this.Value(_publishedValueFallback, "price"); - - /// - /// Product Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("productName")] - public virtual string ProductName => this.Value(_publishedValueFallback, "productName"); - - /// - /// SKU - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sku")] - public virtual string Sku => this.Value(_publishedValueFallback, "sku"); - } - - /// Products - [PublishedModel("products")] - public partial class Products : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "products"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Products(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Default Currency: This is just used to prefix pricing - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("defaultCurrency")] - public virtual string DefaultCurrency => this.Value(_publishedValueFallback, "defaultCurrency"); - - /// - /// Featured Products - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredProducts")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedProducts => this.Value>(_publishedValueFallback, "featuredProducts"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Folder - [PublishedModel("Folder")] - public partial class Folder : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "Folder"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Folder(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Image - [PublishedModel("Image")] - public partial class Image : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "Image"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Image(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - - /// - /// Height: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoHeight")] - public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); - - /// - /// Width: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoWidth")] - public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); - } - - /// File - [PublishedModel("File")] - public partial class File : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "File"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public File(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// File - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Video - [PublishedModel("umbracoMediaVideo")] - public partial class UmbracoMediaVideo : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaVideo"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Video - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Audio - [PublishedModel("umbracoMediaAudio")] - public partial class UmbracoMediaAudio : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaAudio"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Audio - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Article - [PublishedModel("umbracoMediaArticle")] - public partial class UmbracoMediaArticle : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaArticle"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Article - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Vector Graphics (SVG) - [PublishedModel("umbracoMediaVectorGraphics")] - public partial class UmbracoMediaVectorGraphics : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "umbracoMediaVectorGraphics"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Vector Graphics - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Member - [PublishedModel("Member")] - public partial class Member : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const string ModelTypeAlias = "Member"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - public new const PublishedItemType ModelItemType = PublishedItemType.Member; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [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", "11.0.0+d713b38")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Member(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Comments - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "11.0.0+d713b38")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoMemberComments")] - public virtual string UmbracoMemberComments => this.Value(_publishedValueFallback, "umbracoMemberComments"); - } - -} diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/models.hash b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/models.hash deleted file mode 100644 index e20b263..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/InMemoryAuto/models.hash +++ /dev/null @@ -1 +0,0 @@ -979f8796d4c4492eced18d8c7cacddede9a09c65 \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/Install/install_3d3c66accff449b993b2ea97cd3c0d99.txt b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/Install/install_3d3c66accff449b993b2ea97cd3c0d99.txt deleted file mode 100644 index 4268aed..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/Install/install_3d3c66accff449b993b2ea97cd3c0d99.txt +++ /dev/null @@ -1 +0,0 @@ -[{"Name":"Permissions","ServerOrder":0,"IsComplete":true,"AdditionalData":{}},{"Name":"TelemetryIdConfiguration","ServerOrder":0,"IsComplete":true,"AdditionalData":{}},{"Name":"Upgrade","ServerOrder":1,"IsComplete":true,"AdditionalData":{}},{"Name":"DatabaseInstall","ServerOrder":11,"IsComplete":true,"AdditionalData":{"upgrade":true}},{"Name":"DatabaseUpgrade","ServerOrder":12,"IsComplete":true,"AdditionalData":{}},{"Name":"UmbracoVersion","ServerOrder":50,"IsComplete":true,"AdditionalData":{}}] \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/MainDom_2bcbc9e96e518ee07d2aa97922e200814ec5caa4.lock b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/MainDom_2bcbc9e96e518ee07d2aa97922e200814ec5caa4.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/MainDom_eafbb67fee4f9106b913862ac92f4a8adf1ba75c.lock b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/MainDom_eafbb67fee4f9106b913862ac92f4a8adf1ba75c.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db deleted file mode 100644 index 728fcff..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db deleted file mode 100644 index 60ee521..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db deleted file mode 100644 index e82e15e..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db-shm b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db-shm deleted file mode 100644 index aece747..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db-shm and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db-wal b/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db-wal deleted file mode 100644 index 95528eb..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.11.x/umbraco/Data/Umbraco.sqlite.db-wal and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/DistCache/723ea284eeabfe4b60e054b00a2f955d1032b68d-lastsynced.txt b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/DistCache/723ea284eeabfe4b60e054b00a2f955d1032b68d-lastsynced.txt deleted file mode 100644 index 7c09198..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/DistCache/723ea284eeabfe4b60e054b00a2f955d1032b68d-lastsynced.txt +++ /dev/null @@ -1 +0,0 @@ -37 \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments.gen deleted file mode 100644 index 14e6690..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments_1 b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments_1 deleted file mode 100644 index 7b1c23e..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments_1 and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfe b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfe deleted file mode 100644 index 41e298e..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfe and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfs b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfs deleted file mode 100644 index bee3bba..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.cfs and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.si b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.si deleted file mode 100644 index 1f35457..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_5.si and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen deleted file mode 100644 index febdf39..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_a b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_a deleted file mode 100644 index 03837ce..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_a and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfe b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfe deleted file mode 100644 index 20a6540..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfe and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfs b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfs deleted file mode 100644 index 40e847c..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.cfs and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.si b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.si deleted file mode 100644 index 1f35457..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_5.si and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen deleted file mode 100644 index febdf39..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_a b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_a deleted file mode 100644 index 03837ce..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_a and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen deleted file mode 100644 index 76564cd..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments_12 b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments_12 deleted file mode 100644 index 1e7ef7b..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments_12 and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs4c3d2f9ebb3426be7bbe1711760714d4da84067e.dll b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs4c3d2f9ebb3426be7bbe1711760714d4da84067e.dll deleted file mode 100644 index d1b2587..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs4c3d2f9ebb3426be7bbe1711760714d4da84067e.dll and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path deleted file mode 100644 index e3de5e6..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path +++ /dev/null @@ -1 +0,0 @@ -C:\Development\Umbraco.Community.Sustainability\src\Umbraco.Community.Sustainability.TestSite.12.x\umbraco\Data\TEMP\InMemoryAuto\Compiled\generated.cs4c3d2f9ebb3426be7bbe1711760714d4da84067e.dll \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs deleted file mode 100644 index 2a9d9fc..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs +++ /dev/null @@ -1,1537 +0,0 @@ -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; -[assembly:ModelsBuilderAssembly(IsInMemory = true, SourceHash = "4c3d2f9ebb3426be7bbe1711760714d4da84067e")] -[assembly:System.Reflection.AssemblyVersion("0.0.0.1")] - - -// FILE: models.generated.cs - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Umbraco.ModelsBuilder.Embedded v12.0.0+ba724ed -// -// Changes to this file will be lost if the code is regenerated. -// -//------------------------------------------------------------------------------ - - - - - - - - - - - - -namespace Umbraco.Cms.Web.Common.PublishedModels -{ - /// Home - [PublishedModel("home")] - public partial class Home : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "home"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Home(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Color Theme - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("colorTheme")] - public virtual string ColorTheme => this.Value(_publishedValueFallback, "colorTheme"); - - /// - /// Font - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("font")] - public virtual string Font => this.Value(_publishedValueFallback, "font"); - - /// - /// Address - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerAddress")] - public virtual string FooterAddress => this.Value(_publishedValueFallback, "footerAddress"); - - /// - /// Call To Action Caption: Caption on the Call To Action Button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerCTACaption")] - public virtual string FooterCtacaption => this.Value(_publishedValueFallback, "footerCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("FooterCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent FooterCtalink => this.Value(_publishedValueFallback, "FooterCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerDescription")] - public virtual string FooterDescription => this.Value(_publishedValueFallback, "footerDescription"); - - /// - /// Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerHeader")] - public virtual string FooterHeader => this.Value(_publishedValueFallback, "footerHeader"); - - /// - /// Hero Background: Spice up the homepage by adding a beautiful photo that relates to your business - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroBackgroundImage")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroBackgroundImage => this.Value(_publishedValueFallback, "HeroBackgroundImage"); - - /// - /// Call To Action Caption: The caption on the button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroCTACaption")] - public virtual string HeroCtacaption => this.Value(_publishedValueFallback, "heroCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroCtalink => this.Value(_publishedValueFallback, "HeroCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroDescription")] - public virtual string HeroDescription => this.Value(_publishedValueFallback, "heroDescription"); - - /// - /// Header: This is the main headline for the hero area on the Homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroHeader")] - public virtual string HeroHeader => this.Value(_publishedValueFallback, "heroHeader"); - - /// - /// Page Title - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Logo: Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("SiteLogo")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent SiteLogo => this.Value(_publishedValueFallback, "SiteLogo"); - - /// - /// Sitename: Used on the homepage as well as the title and social cards - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sitename")] - public virtual string Sitename => this.Value(_publishedValueFallback, "sitename"); - } - - // Mixin Content Type with alias "contentBase" - /// Content Base - public partial interface IContentBase : IPublishedContent - { - /// Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::Newtonsoft.Json.Linq.JToken BodyText { get; } - - /// Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string PageTitle { get; } - } - - /// Content Base - [PublishedModel("contentBase")] - public partial class ContentBase : PublishedContentModel, IContentBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "contentBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => GetBodyText(this, _publishedValueFallback); - - /// Static getter for Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::Newtonsoft.Json.Linq.JToken GetBodyText(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "bodyText"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => GetPageTitle(this, _publishedValueFallback); - - /// Static getter for Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetPageTitle(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "pageTitle"); - } - - // Mixin Content Type with alias "navigationBase" - /// Navigation Base - public partial interface INavigationBase : IPublishedContent - { - /// Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::System.Collections.Generic.IEnumerable Keywords { get; } - - /// Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string SeoMetaDescription { get; } - - /// Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - bool UmbracoNavihide { get; } - } - - /// Navigation Base - [PublishedModel("navigationBase")] - public partial class NavigationBase : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "navigationBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public NavigationBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => GetKeywords(this, _publishedValueFallback); - - /// Static getter for Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::System.Collections.Generic.IEnumerable GetKeywords(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value>(publishedValueFallback, "keywords"); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => GetSeoMetaDescription(this, _publishedValueFallback); - - /// Static getter for Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetSeoMetaDescription(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "seoMetaDescription"); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => GetUmbracoNavihide(this, _publishedValueFallback); - - /// Static getter for Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public static bool GetUmbracoNavihide(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "umbracoNavihide"); - } - - /// Blog - [PublishedModel("blog")] - public partial class Blog : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "blog"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blog(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Disqus Shortname: To use comments, you'll need to sign up for Disqus and enter your shortname here (more info: https://help.disqus.com/customer/portal/articles/472097-universal-embed-code) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("disqusShortname")] - public virtual string DisqusShortname => this.Value(_publishedValueFallback, "disqusShortname"); - - /// - /// How many posts should be shown? - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("howManyPostsShouldBeShown")] - public virtual decimal HowManyPostsShouldBeShown => this.Value(_publishedValueFallback, "howManyPostsShouldBeShown"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Blogpost - [PublishedModel("blogpost")] - public partial class Blogpost : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "blogpost"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blogpost(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Categories (tags) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("categories")] - public virtual global::System.Collections.Generic.IEnumerable Categories => this.Value>(_publishedValueFallback, "categories"); - - /// - /// Excerpt: Introduction to your blog post. This is also used in the summaries on the front of the blog as well as the homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("excerpt")] - public virtual string Excerpt => this.Value(_publishedValueFallback, "excerpt"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Contact - [PublishedModel("contact")] - public partial class Contact : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "contact"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Contact(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Contact Form Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactFormHeader")] - public virtual string ContactFormHeader => this.Value(_publishedValueFallback, "contactFormHeader"); - - /// - /// Contact Intro - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactIntro")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString ContactIntro => this.Value(_publishedValueFallback, "contactIntro"); - - /// - /// Map Coordinates - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapCoordinates")] - public virtual global::Bergmania.OpenStreetMap.Core.OpenStreetMapModel MapCoordinates => this.Value(_publishedValueFallback, "mapCoordinates"); - - /// - /// Map Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapHeader")] - public virtual string MapHeader => this.Value(_publishedValueFallback, "mapHeader"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Content Page - [PublishedModel("contentPage")] - public partial class ContentPage : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "contentPage"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentPage(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Feature - [PublishedModel("feature")] - public partial class Feature : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "feature"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Feature(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Details - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureDetails")] - public virtual string FeatureDetails => this.Value(_publishedValueFallback, "featureDetails"); - - /// - /// Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureName")] - public virtual string FeatureName => this.Value(_publishedValueFallback, "featureName"); - } - - /// People - [PublishedModel("people")] - public partial class People : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "people"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public People(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Featured People - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredPeople")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedPeople => this.Value>(_publishedValueFallback, "featuredPeople"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Person - [PublishedModel("person")] - public partial class Person : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "person"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Person(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Department - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("department")] - public virtual global::System.Collections.Generic.IEnumerable Department => this.Value>(_publishedValueFallback, "department"); - - /// - /// Email - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("email")] - public virtual string Email => this.Value(_publishedValueFallback, "email"); - - /// - /// Facebook username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("facebookUsername")] - public virtual string FacebookUsername => this.Value(_publishedValueFallback, "facebookUsername"); - - /// - /// Instagram Username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("instagramUsername")] - public virtual string InstagramUsername => this.Value(_publishedValueFallback, "instagramUsername"); - - /// - /// LinkedIn username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("linkedInUsername")] - public virtual string LinkedInUsername => this.Value(_publishedValueFallback, "linkedInUsername"); - - /// - /// Photo - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photo => this.Value(_publishedValueFallback, "photo"); - - /// - /// Twitter username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("twitterUsername")] - public virtual string TwitterUsername => this.Value(_publishedValueFallback, "twitterUsername"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Product - [PublishedModel("product")] - public partial class Product : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "product"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Product(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Category - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("category")] - public virtual global::System.Collections.Generic.IEnumerable Category => this.Value>(_publishedValueFallback, "category"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("description")] - public virtual string Description => this.Value(_publishedValueFallback, "description"); - - /// - /// Features - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("features")] - public virtual global::System.Collections.Generic.IEnumerable Features => this.Value>(_publishedValueFallback, "features"); - - /// - /// Photos - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photos")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photos => this.Value(_publishedValueFallback, "photos"); - - /// - /// Price - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("price")] - public virtual decimal Price => this.Value(_publishedValueFallback, "price"); - - /// - /// Product Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("productName")] - public virtual string ProductName => this.Value(_publishedValueFallback, "productName"); - - /// - /// SKU - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sku")] - public virtual string Sku => this.Value(_publishedValueFallback, "sku"); - } - - /// Products - [PublishedModel("products")] - public partial class Products : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "products"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Products(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Default Currency: This is just used to prefix pricing - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("defaultCurrency")] - public virtual string DefaultCurrency => this.Value(_publishedValueFallback, "defaultCurrency"); - - /// - /// Featured Products - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredProducts")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedProducts => this.Value>(_publishedValueFallback, "featuredProducts"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Folder - [PublishedModel("Folder")] - public partial class Folder : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "Folder"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Folder(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Image - [PublishedModel("Image")] - public partial class Image : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "Image"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Image(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - - /// - /// Height: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoHeight")] - public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); - - /// - /// Width: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoWidth")] - public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); - } - - /// File - [PublishedModel("File")] - public partial class File : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "File"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public File(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// File - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Video - [PublishedModel("umbracoMediaVideo")] - public partial class UmbracoMediaVideo : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaVideo"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Video - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Audio - [PublishedModel("umbracoMediaAudio")] - public partial class UmbracoMediaAudio : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaAudio"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Audio - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Article - [PublishedModel("umbracoMediaArticle")] - public partial class UmbracoMediaArticle : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaArticle"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Article - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Vector Graphics (SVG) - [PublishedModel("umbracoMediaVectorGraphics")] - public partial class UmbracoMediaVectorGraphics : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaVectorGraphics"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Vector Graphics - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Member - [PublishedModel("Member")] - public partial class Member : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "Member"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Member; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Member(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Comments - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoMemberComments")] - public virtual string UmbracoMemberComments => this.Value(_publishedValueFallback, "umbracoMemberComments"); - } - -} - - - -// EOF diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs deleted file mode 100644 index d72b057..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs +++ /dev/null @@ -1,1520 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Umbraco.ModelsBuilder.Embedded v12.0.0+ba724ed -// -// Changes to this file will be lost if the code is regenerated. -// -//------------------------------------------------------------------------------ - -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; - -[assembly:ModelsBuilderAssembly(IsInMemory = true, SourceHash = "4c3d2f9ebb3426be7bbe1711760714d4da84067e")] -[assembly:System.Reflection.AssemblyVersion("0.0.0.1")] - -namespace Umbraco.Cms.Web.Common.PublishedModels -{ - /// Home - [PublishedModel("home")] - public partial class Home : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "home"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Home(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Color Theme - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("colorTheme")] - public virtual string ColorTheme => this.Value(_publishedValueFallback, "colorTheme"); - - /// - /// Font - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("font")] - public virtual string Font => this.Value(_publishedValueFallback, "font"); - - /// - /// Address - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerAddress")] - public virtual string FooterAddress => this.Value(_publishedValueFallback, "footerAddress"); - - /// - /// Call To Action Caption: Caption on the Call To Action Button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerCTACaption")] - public virtual string FooterCtacaption => this.Value(_publishedValueFallback, "footerCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("FooterCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent FooterCtalink => this.Value(_publishedValueFallback, "FooterCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerDescription")] - public virtual string FooterDescription => this.Value(_publishedValueFallback, "footerDescription"); - - /// - /// Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerHeader")] - public virtual string FooterHeader => this.Value(_publishedValueFallback, "footerHeader"); - - /// - /// Hero Background: Spice up the homepage by adding a beautiful photo that relates to your business - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroBackgroundImage")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroBackgroundImage => this.Value(_publishedValueFallback, "HeroBackgroundImage"); - - /// - /// Call To Action Caption: The caption on the button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroCTACaption")] - public virtual string HeroCtacaption => this.Value(_publishedValueFallback, "heroCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroCtalink => this.Value(_publishedValueFallback, "HeroCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroDescription")] - public virtual string HeroDescription => this.Value(_publishedValueFallback, "heroDescription"); - - /// - /// Header: This is the main headline for the hero area on the Homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroHeader")] - public virtual string HeroHeader => this.Value(_publishedValueFallback, "heroHeader"); - - /// - /// Page Title - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Logo: Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("SiteLogo")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent SiteLogo => this.Value(_publishedValueFallback, "SiteLogo"); - - /// - /// Sitename: Used on the homepage as well as the title and social cards - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sitename")] - public virtual string Sitename => this.Value(_publishedValueFallback, "sitename"); - } - - // Mixin Content Type with alias "contentBase" - /// Content Base - public partial interface IContentBase : IPublishedContent - { - /// Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::Newtonsoft.Json.Linq.JToken BodyText { get; } - - /// Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string PageTitle { get; } - } - - /// Content Base - [PublishedModel("contentBase")] - public partial class ContentBase : PublishedContentModel, IContentBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "contentBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => GetBodyText(this, _publishedValueFallback); - - /// Static getter for Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::Newtonsoft.Json.Linq.JToken GetBodyText(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "bodyText"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => GetPageTitle(this, _publishedValueFallback); - - /// Static getter for Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetPageTitle(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "pageTitle"); - } - - // Mixin Content Type with alias "navigationBase" - /// Navigation Base - public partial interface INavigationBase : IPublishedContent - { - /// Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::System.Collections.Generic.IEnumerable Keywords { get; } - - /// Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string SeoMetaDescription { get; } - - /// Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - bool UmbracoNavihide { get; } - } - - /// Navigation Base - [PublishedModel("navigationBase")] - public partial class NavigationBase : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "navigationBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public NavigationBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => GetKeywords(this, _publishedValueFallback); - - /// Static getter for Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::System.Collections.Generic.IEnumerable GetKeywords(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value>(publishedValueFallback, "keywords"); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => GetSeoMetaDescription(this, _publishedValueFallback); - - /// Static getter for Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetSeoMetaDescription(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "seoMetaDescription"); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => GetUmbracoNavihide(this, _publishedValueFallback); - - /// Static getter for Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public static bool GetUmbracoNavihide(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "umbracoNavihide"); - } - - /// Blog - [PublishedModel("blog")] - public partial class Blog : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "blog"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blog(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Disqus Shortname: To use comments, you'll need to sign up for Disqus and enter your shortname here (more info: https://help.disqus.com/customer/portal/articles/472097-universal-embed-code) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("disqusShortname")] - public virtual string DisqusShortname => this.Value(_publishedValueFallback, "disqusShortname"); - - /// - /// How many posts should be shown? - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("howManyPostsShouldBeShown")] - public virtual decimal HowManyPostsShouldBeShown => this.Value(_publishedValueFallback, "howManyPostsShouldBeShown"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Blogpost - [PublishedModel("blogpost")] - public partial class Blogpost : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "blogpost"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blogpost(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Categories (tags) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("categories")] - public virtual global::System.Collections.Generic.IEnumerable Categories => this.Value>(_publishedValueFallback, "categories"); - - /// - /// Excerpt: Introduction to your blog post. This is also used in the summaries on the front of the blog as well as the homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("excerpt")] - public virtual string Excerpt => this.Value(_publishedValueFallback, "excerpt"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Contact - [PublishedModel("contact")] - public partial class Contact : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "contact"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Contact(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Contact Form Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactFormHeader")] - public virtual string ContactFormHeader => this.Value(_publishedValueFallback, "contactFormHeader"); - - /// - /// Contact Intro - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactIntro")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString ContactIntro => this.Value(_publishedValueFallback, "contactIntro"); - - /// - /// Map Coordinates - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapCoordinates")] - public virtual global::Bergmania.OpenStreetMap.Core.OpenStreetMapModel MapCoordinates => this.Value(_publishedValueFallback, "mapCoordinates"); - - /// - /// Map Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapHeader")] - public virtual string MapHeader => this.Value(_publishedValueFallback, "mapHeader"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Content Page - [PublishedModel("contentPage")] - public partial class ContentPage : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "contentPage"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentPage(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Feature - [PublishedModel("feature")] - public partial class Feature : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "feature"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Feature(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Details - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureDetails")] - public virtual string FeatureDetails => this.Value(_publishedValueFallback, "featureDetails"); - - /// - /// Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureName")] - public virtual string FeatureName => this.Value(_publishedValueFallback, "featureName"); - } - - /// People - [PublishedModel("people")] - public partial class People : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "people"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public People(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Featured People - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredPeople")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedPeople => this.Value>(_publishedValueFallback, "featuredPeople"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Person - [PublishedModel("person")] - public partial class Person : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "person"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Person(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Department - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("department")] - public virtual global::System.Collections.Generic.IEnumerable Department => this.Value>(_publishedValueFallback, "department"); - - /// - /// Email - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("email")] - public virtual string Email => this.Value(_publishedValueFallback, "email"); - - /// - /// Facebook username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("facebookUsername")] - public virtual string FacebookUsername => this.Value(_publishedValueFallback, "facebookUsername"); - - /// - /// Instagram Username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("instagramUsername")] - public virtual string InstagramUsername => this.Value(_publishedValueFallback, "instagramUsername"); - - /// - /// LinkedIn username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("linkedInUsername")] - public virtual string LinkedInUsername => this.Value(_publishedValueFallback, "linkedInUsername"); - - /// - /// Photo - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photo => this.Value(_publishedValueFallback, "photo"); - - /// - /// Twitter username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("twitterUsername")] - public virtual string TwitterUsername => this.Value(_publishedValueFallback, "twitterUsername"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Product - [PublishedModel("product")] - public partial class Product : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "product"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Product(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Category - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("category")] - public virtual global::System.Collections.Generic.IEnumerable Category => this.Value>(_publishedValueFallback, "category"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("description")] - public virtual string Description => this.Value(_publishedValueFallback, "description"); - - /// - /// Features - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("features")] - public virtual global::System.Collections.Generic.IEnumerable Features => this.Value>(_publishedValueFallback, "features"); - - /// - /// Photos - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photos")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photos => this.Value(_publishedValueFallback, "photos"); - - /// - /// Price - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("price")] - public virtual decimal Price => this.Value(_publishedValueFallback, "price"); - - /// - /// Product Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("productName")] - public virtual string ProductName => this.Value(_publishedValueFallback, "productName"); - - /// - /// SKU - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sku")] - public virtual string Sku => this.Value(_publishedValueFallback, "sku"); - } - - /// Products - [PublishedModel("products")] - public partial class Products : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "products"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Products(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Default Currency: This is just used to prefix pricing - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("defaultCurrency")] - public virtual string DefaultCurrency => this.Value(_publishedValueFallback, "defaultCurrency"); - - /// - /// Featured Products - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredProducts")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedProducts => this.Value>(_publishedValueFallback, "featuredProducts"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Newtonsoft.Json.Linq.JToken BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Folder - [PublishedModel("Folder")] - public partial class Folder : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "Folder"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Folder(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Image - [PublishedModel("Image")] - public partial class Image : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "Image"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Image(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - - /// - /// Height: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoHeight")] - public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); - - /// - /// Width: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoWidth")] - public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); - } - - /// File - [PublishedModel("File")] - public partial class File : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "File"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public File(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// File - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Video - [PublishedModel("umbracoMediaVideo")] - public partial class UmbracoMediaVideo : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaVideo"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Video - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Audio - [PublishedModel("umbracoMediaAudio")] - public partial class UmbracoMediaAudio : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaAudio"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Audio - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Article - [PublishedModel("umbracoMediaArticle")] - public partial class UmbracoMediaArticle : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaArticle"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Article - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Vector Graphics (SVG) - [PublishedModel("umbracoMediaVectorGraphics")] - public partial class UmbracoMediaVectorGraphics : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "umbracoMediaVectorGraphics"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Vector Graphics - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Member - [PublishedModel("Member")] - public partial class Member : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const string ModelTypeAlias = "Member"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - public new const PublishedItemType ModelItemType = PublishedItemType.Member; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [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", "12.0.0+ba724ed")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Member(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Comments - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "12.0.0+ba724ed")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoMemberComments")] - public virtual string UmbracoMemberComments => this.Value(_publishedValueFallback, "umbracoMemberComments"); - } - -} diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/models.hash b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/models.hash deleted file mode 100644 index f284520..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/InMemoryAuto/models.hash +++ /dev/null @@ -1 +0,0 @@ -4c3d2f9ebb3426be7bbe1711760714d4da84067e \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/Install/install_d93d5e783d374ed9badb30f055cc2f2c.txt b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/Install/install_d93d5e783d374ed9badb30f055cc2f2c.txt deleted file mode 100644 index da3284d..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/Install/install_d93d5e783d374ed9badb30f055cc2f2c.txt +++ /dev/null @@ -1 +0,0 @@ -[{"Name":"Permissions","ServerOrder":0,"IsComplete":false,"AdditionalData":{}},{"Name":"TelemetryIdConfiguration","ServerOrder":0,"IsComplete":false,"AdditionalData":{}},{"Name":"DatabaseConfigure","ServerOrder":10,"IsComplete":false,"AdditionalData":{}},{"Name":"DatabaseInstall","ServerOrder":11,"IsComplete":false,"AdditionalData":{}},{"Name":"DatabaseUpgrade","ServerOrder":12,"IsComplete":false,"AdditionalData":{}},{"Name":"User","ServerOrder":20,"IsComplete":false,"AdditionalData":{}},{"Name":"UmbracoVersion","ServerOrder":50,"IsComplete":false,"AdditionalData":{}}] \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/MainDom_2bcbc9e96e518ee07d2aa97922e200814ec5caa4.lock b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/MainDom_2bcbc9e96e518ee07d2aa97922e200814ec5caa4.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/MainDom_48c2769792b14c7198eba7626bfb9753f3655250.lock b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/MainDom_48c2769792b14c7198eba7626bfb9753f3655250.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db deleted file mode 100644 index b833362..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Content.tlog b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Content.tlog deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db deleted file mode 100644 index 27e4902..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Media.tlog b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/TEMP/NuCache/NuCache.Media.tlog deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db deleted file mode 100644 index 3a3efab..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db-shm b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db-shm deleted file mode 100644 index 47ea4ed..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db-shm and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db-wal b/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db-wal deleted file mode 100644 index 5301fde..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.12.x/umbraco/Data/Umbraco.sqlite.db-wal and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/DistCache/c51d2547047e4aff69299d5014db69b91d545ad7-lastsynced.txt b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/DistCache/c51d2547047e4aff69299d5014db69b91d545ad7-lastsynced.txt deleted file mode 100644 index 62f9457..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/DistCache/c51d2547047e4aff69299d5014db69b91d545ad7-lastsynced.txt +++ /dev/null @@ -1 +0,0 @@ -6 \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments.gen deleted file mode 100644 index 8e77689..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/DeliveryApiContentIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.cfe b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.cfe deleted file mode 100644 index 3a8a8f6..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.cfe and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.cfs b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.cfs deleted file mode 100644 index 9cb473c..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.cfs and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.si b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.si deleted file mode 100644 index 6a87850..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/_1.si and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen deleted file mode 100644 index be44aec..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_4 b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_4 deleted file mode 100644 index b2c84c5..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/segments_4 and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/ExternalIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.cfe b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.cfe deleted file mode 100644 index 7c946da..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.cfe and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.cfs b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.cfs deleted file mode 100644 index e46c955..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.cfs and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.si b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.si deleted file mode 100644 index 6a87850..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/_1.si and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen deleted file mode 100644 index be44aec..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_4 b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_4 deleted file mode 100644 index b2c84c5..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/segments_4 and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/write.lock b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/InternalIndex/write.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen deleted file mode 100644 index 8e77689..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/ExamineIndexes/MembersIndex/segments.gen and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs9e0f9f94513e4ab8b82b2d8e8cf09a1d2aad243e.dll b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs9e0f9f94513e4ab8b82b2d8e8cf09a1d2aad243e.dll deleted file mode 100644 index 1ed6997..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/Compiled/generated.cs9e0f9f94513e4ab8b82b2d8e8cf09a1d2aad243e.dll and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path deleted file mode 100644 index b6a3dce..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/all.dll.path +++ /dev/null @@ -1 +0,0 @@ -C:\Development\Umbraco.Community.Sustainability\src\Umbraco.Community.Sustainability.TestSite.13.x\umbraco\Data\TEMP\InMemoryAuto\Compiled\generated.cs9e0f9f94513e4ab8b82b2d8e8cf09a1d2aad243e.dll \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs deleted file mode 100644 index de1f899..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/all.generated.cs +++ /dev/null @@ -1,1681 +0,0 @@ -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; -[assembly:ModelsBuilderAssembly(IsInMemory = true, SourceHash = "9e0f9f94513e4ab8b82b2d8e8cf09a1d2aad243e")] -[assembly:System.Reflection.AssemblyVersion("0.0.0.1")] - - -// FILE: models.generated.cs - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Umbraco.ModelsBuilder.Embedded v13.0.0+9dfb300 -// -// Changes to this file will be lost if the code is regenerated. -// -//------------------------------------------------------------------------------ - - - - - - - - - - - - -namespace Umbraco.Cms.Web.Common.PublishedModels -{ - // Mixin Content Type with alias "contentBase" - /// Content Base - public partial interface IContentBase : IPublishedContent - { - /// Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText { get; } - - /// Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string PageTitle { get; } - } - - /// Content Base - [PublishedModel("contentBase")] - public partial class ContentBase : PublishedContentModel, IContentBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "contentBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => GetBodyText(this, _publishedValueFallback); - - /// Static getter for Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel GetBodyText(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "bodyText"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => GetPageTitle(this, _publishedValueFallback); - - /// Static getter for Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetPageTitle(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "pageTitle"); - } - - // Mixin Content Type with alias "navigationBase" - /// Navigation Base - public partial interface INavigationBase : IPublishedContent - { - /// Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::System.Collections.Generic.IEnumerable Keywords { get; } - - /// Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string SeoMetaDescription { get; } - - /// Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - bool UmbracoNavihide { get; } - } - - /// Navigation Base - [PublishedModel("navigationBase")] - public partial class NavigationBase : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "navigationBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public NavigationBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => GetKeywords(this, _publishedValueFallback); - - /// Static getter for Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::System.Collections.Generic.IEnumerable GetKeywords(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value>(publishedValueFallback, "keywords"); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => GetSeoMetaDescription(this, _publishedValueFallback); - - /// Static getter for Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetSeoMetaDescription(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "seoMetaDescription"); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => GetUmbracoNavihide(this, _publishedValueFallback); - - /// Static getter for Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public static bool GetUmbracoNavihide(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "umbracoNavihide"); - } - - /// Blog - [PublishedModel("blog")] - public partial class Blog : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "blog"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blog(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Disqus Shortname: To use comments, you'll need to sign up for Disqus and enter your shortname here (more info: https://help.disqus.com/customer/portal/articles/472097-universal-embed-code) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("disqusShortname")] - public virtual string DisqusShortname => this.Value(_publishedValueFallback, "disqusShortname"); - - /// - /// How many posts should be shown? - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("howManyPostsShouldBeShown")] - public virtual decimal HowManyPostsShouldBeShown => this.Value(_publishedValueFallback, "howManyPostsShouldBeShown"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Blogpost - [PublishedModel("blogpost")] - public partial class Blogpost : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "blogpost"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blogpost(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Categories (tags) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("categories")] - public virtual global::System.Collections.Generic.IEnumerable Categories => this.Value>(_publishedValueFallback, "categories"); - - /// - /// Excerpt: Introduction to your blog post. This is also used in the summaries on the front of the blog as well as the homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("excerpt")] - public virtual string Excerpt => this.Value(_publishedValueFallback, "excerpt"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Contact - [PublishedModel("contact")] - public partial class Contact : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "contact"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Contact(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Contact Form Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactFormHeader")] - public virtual string ContactFormHeader => this.Value(_publishedValueFallback, "contactFormHeader"); - - /// - /// Contact Intro - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactIntro")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString ContactIntro => this.Value(_publishedValueFallback, "contactIntro"); - - /// - /// Map Coordinates - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapCoordinates")] - public virtual global::Bergmania.OpenStreetMap.Core.OpenStreetMapModel MapCoordinates => this.Value(_publishedValueFallback, "mapCoordinates"); - - /// - /// Map Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapHeader")] - public virtual string MapHeader => this.Value(_publishedValueFallback, "mapHeader"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Content Page - [PublishedModel("contentPage")] - public partial class ContentPage : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "contentPage"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentPage(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Feature - [PublishedModel("feature")] - public partial class Feature : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "feature"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Feature(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Details - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureDetails")] - public virtual string FeatureDetails => this.Value(_publishedValueFallback, "featureDetails"); - - /// - /// Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureName")] - public virtual string FeatureName => this.Value(_publishedValueFallback, "featureName"); - } - - /// Headline - [PublishedModel("umbBlockGridDemoHeadlineBlock")] - public partial class UmbBlockGridDemoHeadlineBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoHeadlineBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoHeadlineBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Headline - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("headline")] - public virtual string Headline => this.Value(_publishedValueFallback, "headline"); - } - - /// Home - [PublishedModel("home")] - public partial class Home : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "home"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Home(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Color Theme - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("colorTheme")] - public virtual string ColorTheme => this.Value(_publishedValueFallback, "colorTheme"); - - /// - /// Font - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("font")] - public virtual string Font => this.Value(_publishedValueFallback, "font"); - - /// - /// Address - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerAddress")] - public virtual string FooterAddress => this.Value(_publishedValueFallback, "footerAddress"); - - /// - /// Call To Action Caption: Caption on the Call To Action Button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerCTACaption")] - public virtual string FooterCtacaption => this.Value(_publishedValueFallback, "footerCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("FooterCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent FooterCtalink => this.Value(_publishedValueFallback, "FooterCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerDescription")] - public virtual string FooterDescription => this.Value(_publishedValueFallback, "footerDescription"); - - /// - /// Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerHeader")] - public virtual string FooterHeader => this.Value(_publishedValueFallback, "footerHeader"); - - /// - /// Hero Background: Spice up the homepage by adding a beautiful photo that relates to your business - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroBackgroundImage")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops HeroBackgroundImage => this.Value(_publishedValueFallback, "HeroBackgroundImage"); - - /// - /// Call To Action Caption: The caption on the button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroCTACaption")] - public virtual string HeroCtacaption => this.Value(_publishedValueFallback, "heroCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroCtalink => this.Value(_publishedValueFallback, "HeroCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroDescription")] - public virtual string HeroDescription => this.Value(_publishedValueFallback, "heroDescription"); - - /// - /// Header: This is the main headline for the hero area on the Homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroHeader")] - public virtual string HeroHeader => this.Value(_publishedValueFallback, "heroHeader"); - - /// - /// Logo: Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("SiteLogo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops SiteLogo => this.Value(_publishedValueFallback, "SiteLogo"); - - /// - /// Sitename: Used on the homepage as well as the title and social cards - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sitename")] - public virtual string Sitename => this.Value(_publishedValueFallback, "sitename"); - } - - /// Image - [PublishedModel("umbBlockGridDemoImageBlock")] - public partial class UmbBlockGridDemoImageBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoImageBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoImageBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("image")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Image => this.Value(_publishedValueFallback, "image"); - } - - /// People - [PublishedModel("people")] - public partial class People : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "people"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public People(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Featured People - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredPeople")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedPeople => this.Value>(_publishedValueFallback, "featuredPeople"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Person - [PublishedModel("person")] - public partial class Person : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "person"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Person(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Department - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("department")] - public virtual global::System.Collections.Generic.IEnumerable Department => this.Value>(_publishedValueFallback, "department"); - - /// - /// Email - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("email")] - public virtual string Email => this.Value(_publishedValueFallback, "email"); - - /// - /// Facebook username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("facebookUsername")] - public virtual string FacebookUsername => this.Value(_publishedValueFallback, "facebookUsername"); - - /// - /// Instagram Username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("instagramUsername")] - public virtual string InstagramUsername => this.Value(_publishedValueFallback, "instagramUsername"); - - /// - /// LinkedIn username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("linkedInUsername")] - public virtual string LinkedInUsername => this.Value(_publishedValueFallback, "linkedInUsername"); - - /// - /// Photo - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photo => this.Value(_publishedValueFallback, "photo"); - - /// - /// Twitter username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("twitterUsername")] - public virtual string TwitterUsername => this.Value(_publishedValueFallback, "twitterUsername"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Product - [PublishedModel("product")] - public partial class Product : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "product"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Product(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Category - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("category")] - public virtual global::System.Collections.Generic.IEnumerable Category => this.Value>(_publishedValueFallback, "category"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("description")] - public virtual string Description => this.Value(_publishedValueFallback, "description"); - - /// - /// Features - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("features")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockListModel Features => this.Value(_publishedValueFallback, "features"); - - /// - /// Photos - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photos")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photos => this.Value(_publishedValueFallback, "photos"); - - /// - /// Price - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("price")] - public virtual decimal Price => this.Value(_publishedValueFallback, "price"); - - /// - /// Product Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("productName")] - public virtual string ProductName => this.Value(_publishedValueFallback, "productName"); - - /// - /// SKU - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sku")] - public virtual string Sku => this.Value(_publishedValueFallback, "sku"); - } - - /// Products - [PublishedModel("products")] - public partial class Products : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "products"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Products(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Default Currency: This is just used to prefix pricing - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("defaultCurrency")] - public virtual string DefaultCurrency => this.Value(_publishedValueFallback, "defaultCurrency"); - - /// - /// Featured Products - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredProducts")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedProducts => this.Value>(_publishedValueFallback, "featuredProducts"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Rich Text - [PublishedModel("umbBlockGridDemoRichTextBlock")] - public partial class UmbBlockGridDemoRichTextBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoRichTextBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoRichTextBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Text - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("richText")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString RichText => this.Value(_publishedValueFallback, "richText"); - } - - /// Two Column Layout - [PublishedModel("umbBlockGridDemoTwoColumnLayoutBlock")] - public partial class UmbBlockGridDemoTwoColumnLayoutBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoTwoColumnLayoutBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoTwoColumnLayoutBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Folder - [PublishedModel("Folder")] - public partial class Folder : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "Folder"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Folder(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Image - [PublishedModel("Image")] - public partial class Image : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "Image"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Image(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - - /// - /// Height: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoHeight")] - public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); - - /// - /// Width: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoWidth")] - public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); - } - - /// File - [PublishedModel("File")] - public partial class File : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "File"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public File(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// File - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Video - [PublishedModel("umbracoMediaVideo")] - public partial class UmbracoMediaVideo : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaVideo"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Video - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Audio - [PublishedModel("umbracoMediaAudio")] - public partial class UmbracoMediaAudio : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaAudio"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Audio - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Article - [PublishedModel("umbracoMediaArticle")] - public partial class UmbracoMediaArticle : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaArticle"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Article - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Vector Graphics (SVG) - [PublishedModel("umbracoMediaVectorGraphics")] - public partial class UmbracoMediaVectorGraphics : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaVectorGraphics"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Vector Graphics - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Member - [PublishedModel("Member")] - public partial class Member : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "Member"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Member; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Member(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Comments - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoMemberComments")] - public virtual string UmbracoMemberComments => this.Value(_publishedValueFallback, "umbracoMemberComments"); - } - -} - - - -// EOF diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs deleted file mode 100644 index 621db65..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/models.generated.cs +++ /dev/null @@ -1,1664 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Umbraco.ModelsBuilder.Embedded v13.0.0+9dfb300 -// -// Changes to this file will be lost if the code is regenerated. -// -//------------------------------------------------------------------------------ - -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; - -[assembly:ModelsBuilderAssembly(IsInMemory = true, SourceHash = "9e0f9f94513e4ab8b82b2d8e8cf09a1d2aad243e")] -[assembly:System.Reflection.AssemblyVersion("0.0.0.1")] - -namespace Umbraco.Cms.Web.Common.PublishedModels -{ - // Mixin Content Type with alias "contentBase" - /// Content Base - public partial interface IContentBase : IPublishedContent - { - /// Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText { get; } - - /// Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string PageTitle { get; } - } - - /// Content Base - [PublishedModel("contentBase")] - public partial class ContentBase : PublishedContentModel, IContentBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "contentBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => GetBodyText(this, _publishedValueFallback); - - /// Static getter for Content - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel GetBodyText(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "bodyText"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => GetPageTitle(this, _publishedValueFallback); - - /// Static getter for Page Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetPageTitle(IContentBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "pageTitle"); - } - - // Mixin Content Type with alias "navigationBase" - /// Navigation Base - public partial interface INavigationBase : IPublishedContent - { - /// Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - global::System.Collections.Generic.IEnumerable Keywords { get; } - - /// Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - string SeoMetaDescription { get; } - - /// Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - bool UmbracoNavihide { get; } - } - - /// Navigation Base - [PublishedModel("navigationBase")] - public partial class NavigationBase : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "navigationBase"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public NavigationBase(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => GetKeywords(this, _publishedValueFallback); - - /// Static getter for Keywords - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static global::System.Collections.Generic.IEnumerable GetKeywords(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value>(publishedValueFallback, "keywords"); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => GetSeoMetaDescription(this, _publishedValueFallback); - - /// Static getter for Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static string GetSeoMetaDescription(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "seoMetaDescription"); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => GetUmbracoNavihide(this, _publishedValueFallback); - - /// Static getter for Hide in Navigation - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public static bool GetUmbracoNavihide(INavigationBase that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "umbracoNavihide"); - } - - /// Blog - [PublishedModel("blog")] - public partial class Blog : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "blog"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blog(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Disqus Shortname: To use comments, you'll need to sign up for Disqus and enter your shortname here (more info: https://help.disqus.com/customer/portal/articles/472097-universal-embed-code) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("disqusShortname")] - public virtual string DisqusShortname => this.Value(_publishedValueFallback, "disqusShortname"); - - /// - /// How many posts should be shown? - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("howManyPostsShouldBeShown")] - public virtual decimal HowManyPostsShouldBeShown => this.Value(_publishedValueFallback, "howManyPostsShouldBeShown"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Blogpost - [PublishedModel("blogpost")] - public partial class Blogpost : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "blogpost"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Blogpost(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Categories (tags) - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("categories")] - public virtual global::System.Collections.Generic.IEnumerable Categories => this.Value>(_publishedValueFallback, "categories"); - - /// - /// Excerpt: Introduction to your blog post. This is also used in the summaries on the front of the blog as well as the homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("excerpt")] - public virtual string Excerpt => this.Value(_publishedValueFallback, "excerpt"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Contact - [PublishedModel("contact")] - public partial class Contact : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "contact"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Contact(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Contact Form Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactFormHeader")] - public virtual string ContactFormHeader => this.Value(_publishedValueFallback, "contactFormHeader"); - - /// - /// Contact Intro - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("contactIntro")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString ContactIntro => this.Value(_publishedValueFallback, "contactIntro"); - - /// - /// Map Coordinates - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapCoordinates")] - public virtual global::Bergmania.OpenStreetMap.Core.OpenStreetMapModel MapCoordinates => this.Value(_publishedValueFallback, "mapCoordinates"); - - /// - /// Map Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("mapHeader")] - public virtual string MapHeader => this.Value(_publishedValueFallback, "mapHeader"); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => this.Value(_publishedValueFallback, "pageTitle"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Content Page - [PublishedModel("contentPage")] - public partial class ContentPage : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "contentPage"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public ContentPage(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Feature - [PublishedModel("feature")] - public partial class Feature : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "feature"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Feature(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Details - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureDetails")] - public virtual string FeatureDetails => this.Value(_publishedValueFallback, "featureDetails"); - - /// - /// Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featureName")] - public virtual string FeatureName => this.Value(_publishedValueFallback, "featureName"); - } - - /// Headline - [PublishedModel("umbBlockGridDemoHeadlineBlock")] - public partial class UmbBlockGridDemoHeadlineBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoHeadlineBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoHeadlineBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Headline - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("headline")] - public virtual string Headline => this.Value(_publishedValueFallback, "headline"); - } - - /// Home - [PublishedModel("home")] - public partial class Home : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "home"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Home(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Color Theme - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("colorTheme")] - public virtual string ColorTheme => this.Value(_publishedValueFallback, "colorTheme"); - - /// - /// Font - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("font")] - public virtual string Font => this.Value(_publishedValueFallback, "font"); - - /// - /// Address - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerAddress")] - public virtual string FooterAddress => this.Value(_publishedValueFallback, "footerAddress"); - - /// - /// Call To Action Caption: Caption on the Call To Action Button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerCTACaption")] - public virtual string FooterCtacaption => this.Value(_publishedValueFallback, "footerCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("FooterCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent FooterCtalink => this.Value(_publishedValueFallback, "FooterCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerDescription")] - public virtual string FooterDescription => this.Value(_publishedValueFallback, "footerDescription"); - - /// - /// Header - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("footerHeader")] - public virtual string FooterHeader => this.Value(_publishedValueFallback, "footerHeader"); - - /// - /// Hero Background: Spice up the homepage by adding a beautiful photo that relates to your business - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroBackgroundImage")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops HeroBackgroundImage => this.Value(_publishedValueFallback, "HeroBackgroundImage"); - - /// - /// Call To Action Caption: The caption on the button - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroCTACaption")] - public virtual string HeroCtacaption => this.Value(_publishedValueFallback, "heroCTACaption"); - - /// - /// Call To Action Link - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("HeroCtalink")] - public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent HeroCtalink => this.Value(_publishedValueFallback, "HeroCtalink"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroDescription")] - public virtual string HeroDescription => this.Value(_publishedValueFallback, "heroDescription"); - - /// - /// Header: This is the main headline for the hero area on the Homepage - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("heroHeader")] - public virtual string HeroHeader => this.Value(_publishedValueFallback, "heroHeader"); - - /// - /// Logo: Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("SiteLogo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops SiteLogo => this.Value(_publishedValueFallback, "SiteLogo"); - - /// - /// Sitename: Used on the homepage as well as the title and social cards - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sitename")] - public virtual string Sitename => this.Value(_publishedValueFallback, "sitename"); - } - - /// Image - [PublishedModel("umbBlockGridDemoImageBlock")] - public partial class UmbBlockGridDemoImageBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoImageBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoImageBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("image")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Image => this.Value(_publishedValueFallback, "image"); - } - - /// People - [PublishedModel("people")] - public partial class People : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "people"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public People(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Featured People - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredPeople")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedPeople => this.Value>(_publishedValueFallback, "featuredPeople"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Person - [PublishedModel("person")] - public partial class Person : PublishedContentModel, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "person"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Person(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Department - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("department")] - public virtual global::System.Collections.Generic.IEnumerable Department => this.Value>(_publishedValueFallback, "department"); - - /// - /// Email - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("email")] - public virtual string Email => this.Value(_publishedValueFallback, "email"); - - /// - /// Facebook username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("facebookUsername")] - public virtual string FacebookUsername => this.Value(_publishedValueFallback, "facebookUsername"); - - /// - /// Instagram Username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("instagramUsername")] - public virtual string InstagramUsername => this.Value(_publishedValueFallback, "instagramUsername"); - - /// - /// LinkedIn username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("linkedInUsername")] - public virtual string LinkedInUsername => this.Value(_publishedValueFallback, "linkedInUsername"); - - /// - /// Photo - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photo")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photo => this.Value(_publishedValueFallback, "photo"); - - /// - /// Twitter username - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("twitterUsername")] - public virtual string TwitterUsername => this.Value(_publishedValueFallback, "twitterUsername"); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Product - [PublishedModel("product")] - public partial class Product : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "product"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Product(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => this.Value(_publishedValueFallback, "bodyText"); - - /// - /// Category - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("category")] - public virtual global::System.Collections.Generic.IEnumerable Category => this.Value>(_publishedValueFallback, "category"); - - /// - /// Description - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("description")] - public virtual string Description => this.Value(_publishedValueFallback, "description"); - - /// - /// Features - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("features")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockListModel Features => this.Value(_publishedValueFallback, "features"); - - /// - /// Photos - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("photos")] - public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Photos => this.Value(_publishedValueFallback, "photos"); - - /// - /// Price - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("price")] - public virtual decimal Price => this.Value(_publishedValueFallback, "price"); - - /// - /// Product Name - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("productName")] - public virtual string ProductName => this.Value(_publishedValueFallback, "productName"); - - /// - /// SKU - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("sku")] - public virtual string Sku => this.Value(_publishedValueFallback, "sku"); - } - - /// Products - [PublishedModel("products")] - public partial class Products : PublishedContentModel, IContentBase, INavigationBase - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "products"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Products(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Default Currency: This is just used to prefix pricing - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("defaultCurrency")] - public virtual string DefaultCurrency => this.Value(_publishedValueFallback, "defaultCurrency"); - - /// - /// Featured Products - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("featuredProducts")] - public virtual global::System.Collections.Generic.IEnumerable FeaturedProducts => this.Value>(_publishedValueFallback, "featuredProducts"); - - /// - /// Content - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("bodyText")] - public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockGridModel BodyText => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetBodyText(this, _publishedValueFallback); - - /// - /// Page Title: The title of the page, this is also the first text in a google search result. The ideal length is between 40 and 60 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("pageTitle")] - public virtual string PageTitle => global::Umbraco.Cms.Web.Common.PublishedModels.ContentBase.GetPageTitle(this, _publishedValueFallback); - - /// - /// Keywords: Keywords that describe the content of the page. This is considered optional since most modern search engines don't use this anymore - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("keywords")] - public virtual global::System.Collections.Generic.IEnumerable Keywords => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetKeywords(this, _publishedValueFallback); - - /// - /// Description: A brief description of the content on your page. This text is shown below the title in a google search result and also used for Social Sharing Cards. The ideal length is between 130 and 155 characters - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("seoMetaDescription")] - public virtual string SeoMetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetSeoMetaDescription(this, _publishedValueFallback); - - /// - /// Hide in Navigation: If you don't want this page to appear in the navigation, check this box - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoNavihide")] - public virtual bool UmbracoNavihide => global::Umbraco.Cms.Web.Common.PublishedModels.NavigationBase.GetUmbracoNavihide(this, _publishedValueFallback); - } - - /// Rich Text - [PublishedModel("umbBlockGridDemoRichTextBlock")] - public partial class UmbBlockGridDemoRichTextBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoRichTextBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoRichTextBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Text - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("richText")] - public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString RichText => this.Value(_publishedValueFallback, "richText"); - } - - /// Two Column Layout - [PublishedModel("umbBlockGridDemoTwoColumnLayoutBlock")] - public partial class UmbBlockGridDemoTwoColumnLayoutBlock : PublishedElementModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbBlockGridDemoTwoColumnLayoutBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbBlockGridDemoTwoColumnLayoutBlock(IPublishedElement content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Folder - [PublishedModel("Folder")] - public partial class Folder : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "Folder"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Folder(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - } - - /// Image - [PublishedModel("Image")] - public partial class Image : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "Image"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Image(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Image - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - - /// - /// Height: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoHeight")] - public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); - - /// - /// Width: in pixels - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoWidth")] - public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); - } - - /// File - [PublishedModel("File")] - public partial class File : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "File"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public File(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// File - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Video - [PublishedModel("umbracoMediaVideo")] - public partial class UmbracoMediaVideo : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaVideo"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Video - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Audio - [PublishedModel("umbracoMediaAudio")] - public partial class UmbracoMediaAudio : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaAudio"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Audio - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Article - [PublishedModel("umbracoMediaArticle")] - public partial class UmbracoMediaArticle : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaArticle"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Article - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Vector Graphics (SVG) - [PublishedModel("umbracoMediaVectorGraphics")] - public partial class UmbracoMediaVectorGraphics : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "umbracoMediaVectorGraphics"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Size: in bytes - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [ImplementPropertyType("umbracoBytes")] - public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); - - /// - /// Type - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoExtension")] - public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); - - /// - /// Vector Graphics - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoFile")] - public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); - } - - /// Member - [PublishedModel("Member")] - public partial class Member : PublishedContentModel - { - // helpers -#pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const string ModelTypeAlias = "Member"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - public new const PublishedItemType ModelItemType = PublishedItemType.Member; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [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.0.0+9dfb300")] - [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] - public static IPublishedPropertyType GetModelPropertyType(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression> selector) - => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); -#pragma warning restore 0109 - - private IPublishedValueFallback _publishedValueFallback; - - // ctor - public Member(IPublishedContent content, IPublishedValueFallback publishedValueFallback) - : base(content, publishedValueFallback) - { - _publishedValueFallback = publishedValueFallback; - } - - // properties - - /// - /// Comments - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "13.0.0+9dfb300")] - [global::System.Diagnostics.CodeAnalysis.MaybeNull] - [ImplementPropertyType("umbracoMemberComments")] - public virtual string UmbracoMemberComments => this.Value(_publishedValueFallback, "umbracoMemberComments"); - } - -} diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/models.hash b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/models.hash deleted file mode 100644 index 9af4d7a..0000000 --- a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/InMemoryAuto/models.hash +++ /dev/null @@ -1 +0,0 @@ -9e0f9f94513e4ab8b82b2d8e8cf09a1d2aad243e \ No newline at end of file diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/MainDom_8c2ca6f21b19822ccbffa9deddf583ca65baf5e0.lock b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/MainDom_8c2ca6f21b19822ccbffa9deddf583ca65baf5e0.lock deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db deleted file mode 100644 index 2aeaa88..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Content.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Content.tlog b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Content.tlog deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db deleted file mode 100644 index 6407285..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Media.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Media.tlog b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/TEMP/NuCache/NuCache.Media.tlog deleted file mode 100644 index e69de29..0000000 diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db deleted file mode 100644 index 9a47220..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db-shm b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db-shm deleted file mode 100644 index f01818e..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db-shm and /dev/null differ diff --git a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db-wal b/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db-wal deleted file mode 100644 index a2b48ac..0000000 Binary files a/src/Umbraco.Community.Sustainability.TestSite.13.x/umbraco/Data/Umbraco.sqlite.db-wal and /dev/null differ