Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GraphNode"/> class.
 /// </summary>
 /// <param name="type">The type of the underlying object instance of the Graph Node</param>
 /// <param name="data">An instance of ObjectGraphData, which contains this GraphNode</param>
 internal GraphNode(Type type, ObjectGraphData data)
 {
     this.InstanceType = type;
     this.graphData = data;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GraphNode"/> class.
 /// </summary>
 /// <param name="type">The type of the underlying object instance of the Graph Node</param>
 /// <param name="data">An instance of ObjectGraphData, which contains this GraphNode</param>
 internal GraphNode(Type type, ObjectGraphData data)
 {
     this.InstanceType = type;
     this.graphData    = data;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GraphNode"/> class.
 /// </summary>
 /// <param name="value">The underlying object instance of the Graph Node</param>
 /// <param name="data">An instance of ObjectGraphData, which contains this GraphNode</param>
 internal GraphNode(object value, ObjectGraphData data)
 {
     this.Instance = value;
     this.InstanceType = value.GetType();
     this.graphData = data;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GraphNode"/> class.
 /// </summary>
 /// <param name="value">The underlying object instance of the Graph Node</param>
 /// <param name="data">An instance of ObjectGraphData, which contains this GraphNode</param>
 internal GraphNode(object value, ObjectGraphData data)
 {
     this.Instance     = value;
     this.InstanceType = value.GetType();
     this.graphData    = data;
 }