public override string ToString()
        {
            int    startDepth = PropertyGenerator.depth;
            String x          = "";
            Type   myType     = (typeof(NSTPartInfo));

            x += PropertyGenerator.GeneratePropertiesString(myType, this);
            if (startDepth != PropertyGenerator.depth)
            {
                throw new Exception(String.Format("Start {0}, End {1}", startDepth, PropertyGenerator.depth)); //todo: give this a exepction type
            }
            return(x);
        }
Ejemplo n.º 2
0
        public override string ToString()
        {
            int    startDepth = PropertyGenerator.depth;
            String x          = "Score Partwise";
            Type   myType     = (typeof(NSTScorePartwise));

            x += PropertyGenerator.GeneratePropertiesString(myType, this);
            if (startDepth != PropertyGenerator.depth)
            {
                throw new Exception(String.Format("{0} - Start {1}, End {2}", this.GetType(), startDepth, PropertyGenerator.depth)); //todo: give this a exepction type
            }
            return(x);
        }