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");
-
- ///