Exemple #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);
        }
Exemple #2
0
 public ReflectedProperty FindChild(string childName)
 {
     return(root.FindProperty(childName));
 }