示例#1
0
 public static IPublishedPropertyType GetModelPropertyType <TValue>(Expression <Func <HomePage, TValue> > selector)
 => PublishedModelUtility.GetModelPropertyType(GetModelContentType(), selector);
 public static IPublishedPropertyType GetModelPropertyType <TValue>(Expression <Func <TitleItemComponent, TValue> > selector)
 => PublishedModelUtility.GetModelPropertyType(GetModelContentType(), selector);
示例#3
0
 public new static IPublishedContentType GetModelContentType()
 => PublishedModelUtility.GetModelContentType(ModelItemType, ModelTypeAlias);
 public static PublishedPropertyType GetModelPropertyType <TValue>(Expression <Func <SingleLineSection, TValue> > selector)
 => PublishedModelUtility.GetModelPropertyType(GetModelContentType(), selector);
 public static IPublishedPropertyType GetModelPropertyType <TValue>(Expression <Func <UmbracoUrlAliasControls, TValue> > selector)
 => PublishedModelUtility.GetModelPropertyType(GetModelContentType(), selector);
 public static IPublishedPropertyType GetModelPropertyType <TValue>(Expression <Func <BentoConfigurationStepsComposition, TValue> > selector)
 => PublishedModelUtility.GetModelPropertyType(GetModelContentType(), selector);
示例#7
0
 public static IPublishedPropertyType GetModelPropertyType <TValue>(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression <Func <Article, TValue> > selector)
 => PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector);
示例#8
0
 public new static IPublishedContentType GetModelContentType(IPublishedSnapshotAccessor publishedSnapshotAccessor)
 => PublishedModelUtility.GetModelContentType(publishedSnapshotAccessor, ModelItemType, ModelTypeAlias);