Beispiel #1
0
        public override object ValueOf(object key)
        {
            ElementViewer ev = key as ElementViewer;

            if (ev != null)
            {
                return(ev.t.ToCompactString());
            }
            else
            {
                return(key);
            }
        }
Beispiel #2
0
            public override object ValueOf(object key)
            {
                ElementViewer ev = key as ElementViewer;

                return(ev != null ? ev.t.ToCompactString() : key);
            }