Exemplo n.º 1
0
        public ReflectedProperty FindProperty(params string[] path)
        {
            ReflectedProperty ptr = this;

            if (path == null || path.Length == 0)
            {
                return(null);
            }
            for (int i = 0; i < path.Length; i++)
            {
                ptr = ptr.FindProperty(path[i]);
                if (ptr == null)
                {
                    return(null);
                }
            }
            return(ptr);
        }
Exemplo n.º 2
0
 public ReflectedProperty FindChild(string childName)
 {
     return(root.FindProperty(childName));
 }