コード例 #1
0
        public override string ToString()
        {
            string text = def.ToString();

            text = text.PadRight(17);
            string text2 = text;

            if (parms != null)
            {
                text2 = text2 + " " + parms.ToString();
            }
            if (source != null)
            {
                text2 = text2 + ", source=" + source;
            }
            return(text2);
        }
コード例 #2
0
        public override string ToString()
        {
            string text = def.defName;

            if (parms != null)
            {
                text = text + ", parms=(" + parms.ToString() + ")";
            }
            if (source != null)
            {
                text = text + ", source=" + source;
            }
            if (sourceQuestPart != null)
            {
                text = text + ", sourceQuestPart=" + sourceQuestPart;
            }
            return(text);
        }