예제 #1
0
        public override string ToString()
        {
            string str  = (base.XamlType == null) ? string.Empty : base.XamlType.Name;
            string str2 = (base.Member == null) ? "-" : base.Member.Name;
            string str3 = (this.Instance == null) ? "-" : ((this.Instance is string) ? this.Instance.ToString() : "*");
            string str4 = (this.Collection == null) ? "-" : "*";

            return(KS.Fmt("{0}.{1} inst={2} coll={3}", new object[] { str, str2, str3, str4 }));
        }
예제 #2
0
        public override string ToString()
        {
            string type = (this.XamlType == null) ? string.Empty : this.XamlType.Name;
            string prop = (this.Member == null) ? "-" : this.Member.Name;
            string inst = (Instance == null) ? "-" : ((Instance is string) ? Instance.ToString() : "*");
            string coll = (Collection == null) ? "-" : "*";
            string res  = KS.Fmt("{0}.{1} inst={2} coll={3}",
                                 type, prop, inst, coll);

            return(res);
        }