Ejemplo n.º 1
0
        public MemberNode(MemberTree tree, MemberNode parent, PropertyInfo propertyInfo, System.Object[] instances) : this(tree, parent, instances)
        {
            this.propertyInfo = propertyInfo;
            NodeType          = MemberNodeType.Property;
            Type = propertyInfo.GetType();

            Nodes = MemberTree.GenerateMemberNodes(tree, Instances, Type);
        }
Ejemplo n.º 2
0
        public MemberNode(MemberTree tree, MemberNode parent, MethodInfo methodInfo, System.Object[] instances) : this(tree, parent, instances)
        {
            this.methodInfo = methodInfo;
            NodeType        = MemberNodeType.Method;
            Type            = methodInfo.GetType();

            Nodes = MemberTree.GenerateMemberNodes(tree, Instances, Type);
        }
Ejemplo n.º 3
0
        public MemberNode(MemberTree tree, MemberNode parent, FieldInfo fieldInfo, System.Object[] instances) : this(tree, parent, instances)
        {
            this.fieldInfo = fieldInfo;
            NodeType       = MemberNodeType.Field;
            Type           = fieldInfo.FieldType;

            Nodes = MemberTree.GenerateMemberNodes(tree, Instances, Type);
        }