Esempio n. 1
0
 public ArrayNode(
     object target,
     string fieldName,
     IEnumerable <IObjectGraphNode> path,
     ObjectGraphNodeFactory objectGraphNodeFactory)
 {
     _target    = target;
     _fieldName = fieldName;
     _path      = path.Concat(new[] { this }).ToList();
     _objectGraphNodeFactory = objectGraphNodeFactory;
 }
Esempio n. 2
0
 public ObjectGraphNode(
     object target,
     string name,
     IReadOnlyList <IObjectGraphNode> path,
     ObjectGraphNodeFactory objectGraphNodeFactory)
 {
     _target = target;
     _path   = path;
     _name   = name;
     _path   = path.Concat(new[] { this }).ToList();
     _objectGraphNodeFactory = objectGraphNodeFactory;
 }