CSJ2K.Color.EnumeratedColorSpaceMapper.ToString C# (CSharp) Метод

ToString() публичный Метод

public ToString ( ) : System.String
Результат System.String
        public override System.String ToString()
        {
            int i;
            System.Text.StringBuilder rep_nComps = new System.Text.StringBuilder("ncomps= ").Append(System.Convert.ToString(ncomps));

            System.Text.StringBuilder rep_fixedValue = new System.Text.StringBuilder("fixedPointBits= (");
            System.Text.StringBuilder rep_shiftValue = new System.Text.StringBuilder("shiftValue= (");
            System.Text.StringBuilder rep_maxValue = new System.Text.StringBuilder("maxValue= (");

            for (i = 0; i < ncomps; ++i)
            {
                if (i != 0)
                {
                    rep_shiftValue.Append(", ");
                    rep_maxValue.Append(", ");
                    rep_fixedValue.Append(", ");
                }
                rep_shiftValue.Append(System.Convert.ToString(shiftValueArray[i]));
                rep_maxValue.Append(System.Convert.ToString(maxValueArray[i]));
                rep_fixedValue.Append(System.Convert.ToString(fixedPtBitsArray[i]));
            }

            rep_shiftValue.Append(")");
            rep_maxValue.Append(")");
            rep_fixedValue.Append(")");

            System.Text.StringBuilder rep = new System.Text.StringBuilder("[EnumeratedColorSpaceMapper ");
            rep.Append(rep_nComps);
            rep.Append(eol).Append("  ").Append(rep_shiftValue);
            rep.Append(eol).Append("  ").Append(rep_maxValue);
            rep.Append(eol).Append("  ").Append(rep_fixedValue);

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