C# 클래스 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.
상속: Value
파일 보기 프로젝트 열기: ngallagher/simplexml

공개 메소드들

메소드 설명
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.

메소드 상세

Reference() 공개 메소드

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 ///
리턴 SimpleFramework.Xml.Strategy