Beispiel #1
0
        public static List <ElementResult> ExecuteActions(this ElementResult elementRef, ElementObject ele)
        {
            if (!elementRef.Success)
            {
                return(new List <ElementResult>()
                {
                    new ElementResult(elementRef.TE)
                });
            }

            if (ele == null)
            {
                ele = new ElementObject();
            }
            var ea = new ElementActions(elementRef.TE);

            return(ea.ExecuteActions(ele, elementRef));
        }