Esempio n. 1
0
        internal static FooterDataObject DataItem(IFooter that)
        {
            var defaultDataItem = new FooterDataObject(that.HasVortoValue(DataItemProperty) ? that.GetVortoValue <IPublishedContent>(DataItemProperty) : that.GetVortoValue <IPublishedContent>(DataItemProperty, fallbackCultureName: "en-US"));

            return(defaultDataItem);
        }
Esempio n. 2
0
 private static FooterDataObject CachedData(IFooter that)
 {
     return(that.FooterDataObject = that.FooterDataObject == null?FooterDataObject.DataItem(that) : that.FooterDataObject);
 }