C# Class SimpleFramework.Xml.Strategy.Reference

The Reference object represents an object that is used to provide a reference to an already instantiated value. This is what is used if there is a cycle in the object graph. The getValue method of this object will simply return the object instance that was previously created.
Inheritance: Value
Exibir arquivo Open project: ngallagher/simplexml

Public Methods

Method Description
IsReference ( ) : bool
Reference ( Object value, Class type ) : System

Constructor for the Reference object. This is used to create a value that will produce the specified value when the getValue method is invoked.

Method Details

IsReference() public method

public IsReference ( ) : bool
return bool

Reference() public method

Constructor for the Reference object. This is used to create a value that will produce the specified value when the getValue method is invoked.
public Reference ( Object value, Class type ) : System
value Object /// the value for the reference this represents ///
type Class /// this is the type value for the instance ///
return System