public static EditableBuilder <EditableEnumAttribute> Enum(this IContentRegistration registration, string name, Type enumType, string title = null) { return(registration.RegisterEditable <EditableEnumAttribute>(name, title) .Configure(e => e.EnumType = enumType)); }
public static EditableBuilder <EditableMediaUploadAttribute> MediaUpload(this IContentRegistration registration, string name, string title = null) { return(registration.RegisterEditable <EditableMediaUploadAttribute>(name, title)); }
public static EditableBuilder <EditableCheckBoxAttribute> CheckBox(this IContentRegistration registration, string name, string checkBoxText = null) { return(registration.RegisterEditable <EditableCheckBoxAttribute>(name, "") .Configure(e => e.CheckBoxText = checkBoxText)); }
public static EditableBuilder <EditableChildrenAttribute> Children(this IContentRegistration registration, string zoneName) { return(registration.RegisterEditable <EditableChildrenAttribute>(zoneName, zoneName)); }
public static EditableBuilder <EditableTagsAttribute> Tags(this IContentRegistration registration, string name) { return(registration.RegisterEditable <EditableTagsAttribute>(name, name)); }
public static EditableBuilder <WithEditableDateRangeAttribute> DateRange(this IContentRegistration registration, string nameStart, string nameEnd, string title = "Dates") { return(registration.RegisterEditable <WithEditableDateRangeAttribute>(nameStart, title) .Configure(a => a.NameEndRange = nameEnd)); }
public static EditableBuilder <WithEditableNameAttribute> Name(this IContentRegistration registration, string title = "Name") { return(registration.RegisterEditable <WithEditableNameAttribute>("Name", title)); }
public static EditableBuilder <WithEditablePublishedRangeAttribute> PublishedRange(this IContentRegistration registration, string title = "Published between") { return(registration.RegisterEditable <WithEditablePublishedRangeAttribute>("Published", title)); }
public static EditableBuilder <EditableUserControlAttribute> UserControl(this IContentRegistration registration, string name, string userControlPath, string title = null) { return(registration.RegisterEditable <EditableUserControlAttribute>(name, title) .Configure(e => e.UserControlPath = userControlPath)); }
public static EditableBuilder <EditableSummaryAttribute> Summary(this IContentRegistration registration, string name, string title = null, string source = null) { return(registration.RegisterEditable <EditableSummaryAttribute>(name, title) .Configure(e => e.Source = source)); }
public static EditableBuilder <EditableThemeSelectionAttribute> ThemeSelection(this IContentRegistration registration, string name, string title = null) { return(registration.RegisterEditable <EditableThemeSelectionAttribute>(name, title)); }
public static EditableBuilder <EditableLanguagesDropDownAttribute> Languages(this IContentRegistration registration, string name, string title = null) { return(registration.RegisterEditable <EditableLanguagesDropDownAttribute>(name, title)); }
public static EditableBuilder <EditableImageSizeAttribute> ImageSize(this IContentRegistration registration, string name, string title = null) { return(registration.RegisterEditable <EditableImageSizeAttribute>(name, title)); }
public static EditableBuilder <EditableFreeTextAreaAttribute> FreeText(this IContentRegistration registration, string name, string title = null) { return(registration.RegisterEditable <EditableFreeTextAreaAttribute>(name, title)); }
// editables /// <summary>Class applicable attribute used to add a title editor.</summary> public static EditableBuilder <WithEditableTitleAttribute> Title <T>(this IContentRegistration <T> registration, string title = "Title") { return(registration.RegisterEditable <WithEditableTitleAttribute>("Title", title)); }