cf21f17bc1
Update jquery validate for IE Simplify scripting Update home page logo
532 lines
15 KiB
C#
532 lines
15 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Umbraco.ModelsBuilder v3.0.4.0
|
|
//
|
|
// Changes to this file will be lost if the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
using System.Web;
|
|
using Umbraco.Core.Models;
|
|
using Umbraco.Core.Models.PublishedContent;
|
|
using Umbraco.Web;
|
|
using Umbraco.ModelsBuilder;
|
|
using Umbraco.ModelsBuilder.Umbraco;
|
|
|
|
[assembly: PureLiveAssembly]
|
|
[assembly:ModelsBuilderAssembly(PureLive = true, SourceHash = "c915aa356c033a90")]
|
|
[assembly:System.Reflection.AssemblyVersion("0.0.0.2")]
|
|
|
|
namespace Umbraco.Web.PublishedContentModels
|
|
{
|
|
/// <summary>Blog Post</summary>
|
|
[PublishedContentModel("BlogPost")]
|
|
public partial class BlogPost : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "BlogPost";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Content;
|
|
#pragma warning restore 0109
|
|
|
|
public BlogPost(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<BlogPost, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Content
|
|
///</summary>
|
|
[ImplementPropertyType("content")]
|
|
public Newtonsoft.Json.Linq.JToken Content
|
|
{
|
|
get { return this.GetPropertyValue<Newtonsoft.Json.Linq.JToken>("content"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Introduction
|
|
///</summary>
|
|
[ImplementPropertyType("introduction")]
|
|
public string Introduction
|
|
{
|
|
get { return this.GetPropertyValue<string>("introduction"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>Blog Post Repository</summary>
|
|
[PublishedContentModel("BlogPostRepository")]
|
|
public partial class BlogPostRepository : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "BlogPostRepository";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Content;
|
|
#pragma warning restore 0109
|
|
|
|
public BlogPostRepository(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<BlogPostRepository, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Hide in bottom navigation?
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoNaviHide")]
|
|
public bool UmbracoNaviHide
|
|
{
|
|
get { return this.GetPropertyValue<bool>("umbracoNaviHide"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>Home</summary>
|
|
[PublishedContentModel("Home")]
|
|
public partial class Home : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "Home";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Content;
|
|
#pragma warning restore 0109
|
|
|
|
public Home(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<Home, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Content
|
|
///</summary>
|
|
[ImplementPropertyType("content")]
|
|
public Newtonsoft.Json.Linq.JToken Content
|
|
{
|
|
get { return this.GetPropertyValue<Newtonsoft.Json.Linq.JToken>("content"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Site Description
|
|
///</summary>
|
|
[ImplementPropertyType("siteDescription")]
|
|
public string SiteDescription
|
|
{
|
|
get { return this.GetPropertyValue<string>("siteDescription"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Site Logo
|
|
///</summary>
|
|
[ImplementPropertyType("siteLogo")]
|
|
public object SiteLogo
|
|
{
|
|
get { return this.GetPropertyValue("siteLogo"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Site Title
|
|
///</summary>
|
|
[ImplementPropertyType("siteTitle")]
|
|
public string SiteTitle
|
|
{
|
|
get { return this.GetPropertyValue<string>("siteTitle"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>Landing Page</summary>
|
|
[PublishedContentModel("LandingPage")]
|
|
public partial class LandingPage : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "LandingPage";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Content;
|
|
#pragma warning restore 0109
|
|
|
|
public LandingPage(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<LandingPage, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Content
|
|
///</summary>
|
|
[ImplementPropertyType("content")]
|
|
public Newtonsoft.Json.Linq.JToken Content
|
|
{
|
|
get { return this.GetPropertyValue<Newtonsoft.Json.Linq.JToken>("content"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Hide in navigation?
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoNaviHide")]
|
|
public bool UmbracoNaviHide
|
|
{
|
|
get { return this.GetPropertyValue<bool>("umbracoNaviHide"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>Text Page</summary>
|
|
[PublishedContentModel("TextPage")]
|
|
public partial class TextPage : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "TextPage";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Content;
|
|
#pragma warning restore 0109
|
|
|
|
public TextPage(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<TextPage, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Content
|
|
///</summary>
|
|
[ImplementPropertyType("content")]
|
|
public Newtonsoft.Json.Linq.JToken Content
|
|
{
|
|
get { return this.GetPropertyValue<Newtonsoft.Json.Linq.JToken>("content"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Leaf Input Backload: loads script necessary for backload
|
|
///</summary>
|
|
[ImplementPropertyType("leafInputBackload")]
|
|
public bool LeafInputBackload
|
|
{
|
|
get { return this.GetPropertyValue<bool>("leafInputBackload"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Hide in Navigation?
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoNaviHide")]
|
|
public bool UmbracoNaviHide
|
|
{
|
|
get { return this.GetPropertyValue<bool>("umbracoNaviHide"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>Folder</summary>
|
|
[PublishedContentModel("Folder")]
|
|
public partial class Folder : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "Folder";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Media;
|
|
#pragma warning restore 0109
|
|
|
|
public Folder(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<Folder, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Contents:
|
|
///</summary>
|
|
[ImplementPropertyType("contents")]
|
|
public object Contents
|
|
{
|
|
get { return this.GetPropertyValue("contents"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>Image</summary>
|
|
[PublishedContentModel("Image")]
|
|
public partial class Image : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "Image";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Media;
|
|
#pragma warning restore 0109
|
|
|
|
public Image(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<Image, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Size
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoBytes")]
|
|
public string UmbracoBytes
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoBytes"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Type
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoExtension")]
|
|
public string UmbracoExtension
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoExtension"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Upload image
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoFile")]
|
|
public Umbraco.Web.Models.ImageCropDataSet UmbracoFile
|
|
{
|
|
get { return this.GetPropertyValue<Umbraco.Web.Models.ImageCropDataSet>("umbracoFile"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Height
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoHeight")]
|
|
public string UmbracoHeight
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoHeight"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Width
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoWidth")]
|
|
public string UmbracoWidth
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoWidth"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>File</summary>
|
|
[PublishedContentModel("File")]
|
|
public partial class File : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "File";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Media;
|
|
#pragma warning restore 0109
|
|
|
|
public File(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<File, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Size
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoBytes")]
|
|
public string UmbracoBytes
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoBytes"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Type
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoExtension")]
|
|
public string UmbracoExtension
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoExtension"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Upload file
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoFile")]
|
|
public object UmbracoFile
|
|
{
|
|
get { return this.GetPropertyValue("umbracoFile"); }
|
|
}
|
|
}
|
|
|
|
/// <summary>Member</summary>
|
|
[PublishedContentModel("Member")]
|
|
public partial class Member : PublishedContentModel
|
|
{
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new const string ModelTypeAlias = "Member";
|
|
public new const PublishedItemType ModelItemType = PublishedItemType.Member;
|
|
#pragma warning restore 0109
|
|
|
|
public Member(IPublishedContent content)
|
|
: base(content)
|
|
{ }
|
|
|
|
#pragma warning disable 0109 // new is redundant
|
|
public new static PublishedContentType GetModelContentType()
|
|
{
|
|
return PublishedContentType.Get(ModelItemType, ModelTypeAlias);
|
|
}
|
|
#pragma warning restore 0109
|
|
|
|
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<Member, TValue>> selector)
|
|
{
|
|
return PublishedContentModelUtility.GetModelPropertyType(GetModelContentType(), selector);
|
|
}
|
|
|
|
///<summary>
|
|
/// Is Approved
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberApproved")]
|
|
public bool UmbracoMemberApproved
|
|
{
|
|
get { return this.GetPropertyValue<bool>("umbracoMemberApproved"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Comments
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberComments")]
|
|
public string UmbracoMemberComments
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoMemberComments"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Failed Password Attempts
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberFailedPasswordAttempts")]
|
|
public string UmbracoMemberFailedPasswordAttempts
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoMemberFailedPasswordAttempts"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Last Lockout Date
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberLastLockoutDate")]
|
|
public string UmbracoMemberLastLockoutDate
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoMemberLastLockoutDate"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Last Login Date
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberLastLogin")]
|
|
public string UmbracoMemberLastLogin
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoMemberLastLogin"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Last Password Change Date
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberLastPasswordChangeDate")]
|
|
public string UmbracoMemberLastPasswordChangeDate
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoMemberLastPasswordChangeDate"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Is Locked Out
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberLockedOut")]
|
|
public bool UmbracoMemberLockedOut
|
|
{
|
|
get { return this.GetPropertyValue<bool>("umbracoMemberLockedOut"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Password Answer
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberPasswordRetrievalAnswer")]
|
|
public string UmbracoMemberPasswordRetrievalAnswer
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoMemberPasswordRetrievalAnswer"); }
|
|
}
|
|
|
|
///<summary>
|
|
/// Password Question
|
|
///</summary>
|
|
[ImplementPropertyType("umbracoMemberPasswordRetrievalQuestion")]
|
|
public string UmbracoMemberPasswordRetrievalQuestion
|
|
{
|
|
get { return this.GetPropertyValue<string>("umbracoMemberPasswordRetrievalQuestion"); }
|
|
}
|
|
}
|
|
|
|
}
|