CSJ2K.Color.Boxes.ChannelDefinitionBox.ToString C# (CSharp) Method

ToString() public method

Return a suitable String representation of the class instance.
public ToString ( ) : System.String
return System.String
        public override System.String ToString()
        {
            System.Text.StringBuilder rep = new System.Text.StringBuilder("[ChannelDefinitionBox ").Append(eol).Append("  ");
            rep.Append("ndefs= ").Append(System.Convert.ToString(ndefs));

            System.Collections.Generic.IEnumerator<int> keys = definitions.Keys.GetEnumerator();
            //UPGRADE_TODO: Method 'java.util.Enumeration.hasMoreElements' 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_javautilEnumerationhasMoreElements'"
            while (keys.MoveNext())
            {
                //UPGRADE_TODO: Method 'java.util.Enumeration.nextElement' 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_javautilEnumerationnextElement'"
                int[] bfr = (int[]) definitions[keys.Current];
                rep.Append(eol).Append("  ").Append("Cn= ").Append(System.Convert.ToString(getCn(bfr))).Append(", ").Append("Typ= ").Append(System.Convert.ToString(getTyp(bfr))).Append(", ").Append("Asoc= ").Append(System.Convert.ToString(getAsoc(bfr)));
            }

            rep.Append("]");
            return rep.ToString();
        }