public bool HaveCustomChildElements(EntityToken parentEntityToken,
                                     Dictionary <string, string> piggybag)
 {
     if (ElementAttachingPointFacade.IsAttachingPoint(parentEntityToken,
                                                      AttachingPoint.ContentPerspective) == false)
     {
         return(false);
     }
     return(true);
 }
        public ElementAttachingProviderResult GetAlternateElementList(
            EntityToken parentEntityToken,
            Dictionary <string, string> piggybag)
        {
            if (ElementAttachingPointFacade.IsAttachingPoint(parentEntityToken,
                                                             AttachingPoint.ContentPerspective) == false)
            {
                return(null);
            }
            ElementAttachingProviderResult result = new ElementAttachingProviderResult()
            {
                Elements         = GetRootElements(piggybag),
                Position         = ElementAttachingProviderPosition.Bottom,
                PositionPriority = 0
            };

            return(result);
        }
Beispiel #3
0
 public override bool IsAttachmentPoint(EntityToken parentEntityToken)
 {
     return(ElementAttachingPointFacade.IsAttachingPoint(parentEntityToken, this.EntityToken));
 }