C# Class SimpleFramework.Xml.Strategy.Allocate

The Allocate object is used to represent an entity that has not yet been created and needs to be allocated to the the object graph. This is given a map that contains each node in the graph keyed via a unique identifier. When an instance is created and set then it is added to the object graph.
Inheritance: Value
Exibir arquivo Open project: ngallagher/simplexml

Public Methods

Method Description
Allocate ( Value value, Dictionary map, String key ) : System.Collections.Generic

Constructor for the Allocate object. This is used to create a value that can be used to set any object in to the internal object graph so references can be discovered.

IsReference ( ) : bool

Method Details

Allocate() public method

Constructor for the Allocate object. This is used to create a value that can be used to set any object in to the internal object graph so references can be discovered.
public Allocate ( Value value, Dictionary map, String key ) : System.Collections.Generic
value Value /// this is the value used to describe the instance ///
map Dictionary /// this contains each instance mapped with a key ///
key String /// this is the unique key representing this instance ///
return System.Collections.Generic

IsReference() public method

public IsReference ( ) : bool
return bool