public static ElementResult ExecuteAction(this ElementResult elementRef, ElementObject ele) { if (ele == null) { ele = new ElementObject(); } var ea = new ElementActions(elementRef.TE); return(ea.ExecuteAction(ele, elementRef)); }