Example #1
0
 public static IEnumerable <Content> SelectedContentEntities(this TypedAttribute attribute)
 {
     return(attribute.SelectedContentEntities(false, false));
 }
Example #2
0
 public static IEnumerable <dynamic> SelectedContent(this TypedAttribute attribute, bool includeUnpublished, bool includeRecycled)
 {
     return(attribute.SelectedContentEntities(includeUnpublished, includeRecycled)
            .Select(x => x.AsDynamic()));
 }