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