C# Class SimpleFramework.Xml.Util.Reference

The Reference object represents a value that holds an object instance. If an object instance is to be provided from a Strategy implementation it must be wrapped in a value object. The value object can then provide the details of the instance and the actual object instance to the serializer.
Inheritance: Value
Afficher le fichier Open project: ngallagher/simplexml

Méthodes publiques

Méthode Description
Reference ( Value value, Object data ) : SimpleFramework.Xml.Strategy

Constructor for a Reference object. To create this a value and an object instance is required. The value provided may be null, but the instance should be a valid object instance to be used by the serializer.

Method Details

Reference() public méthode

Constructor for a Reference object. To create this a value and an object instance is required. The value provided may be null, but the instance should be a valid object instance to be used by the serializer.
public Reference ( Value value, Object data ) : SimpleFramework.Xml.Strategy
value Value /// this is the original value from a strategy ///
data Object /// this is the object instance that is wrapped ///
Résultat SimpleFramework.Xml.Strategy