public virtual bool CanIntercept(IContentData contentData, PropertyInfo property) { return property.HasAnnotation<CmsPublishedStatusAttribute>() && contentData is IContent && property.PropertyType == typeof(bool); }
public bool CanIntercept(IContentData contentData, PropertyInfo property) { return property.HasAnnotation<CmsReferenceAttribute>(); }
public virtual bool CanIntercept(IContentData contentData, PropertyInfo property) { return property.HasAnnotation<CmsPagePredicateAttribute>() && (contentData is PageData) && property.PropertyType == typeof(bool); }