public override bool execute(System.Text.StringBuilder buffer, System.String locale, System.Collections.IDictionary parameters) { for (System.Collections.IEnumerator it = children.GetEnumerator(); it.MoveNext();) { XLRNode child = (XLRNode)it.Current; if (child.execute(buffer, locale, parameters)) { return(true); } } return(false); }
public virtual bool execute(System.Text.StringBuilder buffer, System.String locale, System.Collections.IDictionary parameters) { bool success = false; //UPGRADE_TODO: Method 'java.util.Iterator.hasNext' was converted to 'System.Collections.IEnumerator.MoveNext' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratorhasNext'" for (System.Collections.IEnumerator it = children.GetEnumerator(); it.MoveNext();) { //UPGRADE_TODO: Method 'java.util.Iterator.next' was converted to 'System.Collections.IEnumerator.Current' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratornext'" XLRNode child = (XLRNode)it.Current; if (child.execute(buffer, locale, parameters)) { success = true; } } return(success); }