C# 클래스 Ramone.Utility.ObjectSerialization.ObjectSerializer

파일 보기 프로젝트 열기: JornWildt/Ramone 1 사용 예제들

공개 메소드들

메소드 설명
Deserialize ( NameValueCollection values, ObjectSerializerSettings settings = null ) : object
ObjectSerializer ( Type t ) : System
Serialize ( object data, IPropertyVisitor visitor, ObjectSerializerSettings settings = null ) : void

보호된 메소드들

메소드 설명
Evaluate ( object classValue, Type t, IEnumerator propertyNames, string value ) : void
EvaluateProperty ( object classValue, Type propertyType, Func propertyAccessor, string value, bool &IsSimpleType ) : object
IsSimpleType ( Type t ) : bool
Serialize ( object data, Type dataType, string prefix ) : void
SerializeDictionary ( IDictionary dict, Type dataType, string prefix ) : void
SerializeFile ( IFile file, Type dataType, string prefix ) : void
SerializeList ( IList collection, Type dataType, string prefix ) : void
SerializeNameValueCollection ( NameValueCollection collection, Type dataType, string prefix ) : void
SerializeProperties ( object data, Type dataType, string prefix ) : void
SerializeSimpleValue ( object data, Type dataType, string prefix ) : void

메소드 상세

Deserialize() 공개 메소드

public Deserialize ( NameValueCollection values, ObjectSerializerSettings settings = null ) : object
values System.Collections.Specialized.NameValueCollection
settings ObjectSerializerSettings
리턴 object

Evaluate() 보호된 메소드

protected Evaluate ( object classValue, Type t, IEnumerator propertyNames, string value ) : void
classValue object
t System.Type
propertyNames IEnumerator
value string
리턴 void

EvaluateProperty() 보호된 메소드

protected EvaluateProperty ( object classValue, Type propertyType, Func propertyAccessor, string value, bool &IsSimpleType ) : object
classValue object
propertyType System.Type
propertyAccessor Func
value string
IsSimpleType bool
리턴 object

IsSimpleType() 보호된 메소드

protected IsSimpleType ( Type t ) : bool
t System.Type
리턴 bool

ObjectSerializer() 공개 메소드

public ObjectSerializer ( Type t ) : System
t System.Type
리턴 System

Serialize() 공개 메소드

public Serialize ( object data, IPropertyVisitor visitor, ObjectSerializerSettings settings = null ) : void
data object
visitor IPropertyVisitor
settings ObjectSerializerSettings
리턴 void

Serialize() 보호된 메소드

protected Serialize ( object data, Type dataType, string prefix ) : void
data object
dataType System.Type
prefix string
리턴 void

SerializeDictionary() 보호된 메소드

protected SerializeDictionary ( IDictionary dict, Type dataType, string prefix ) : void
dict IDictionary
dataType System.Type
prefix string
리턴 void

SerializeFile() 보호된 메소드

protected SerializeFile ( IFile file, Type dataType, string prefix ) : void
file IFile
dataType System.Type
prefix string
리턴 void

SerializeList() 보호된 메소드

protected SerializeList ( IList collection, Type dataType, string prefix ) : void
collection IList
dataType System.Type
prefix string
리턴 void

SerializeNameValueCollection() 보호된 메소드

protected SerializeNameValueCollection ( NameValueCollection collection, Type dataType, string prefix ) : void
collection System.Collections.Specialized.NameValueCollection
dataType System.Type
prefix string
리턴 void

SerializeProperties() 보호된 메소드

protected SerializeProperties ( object data, Type dataType, string prefix ) : void
data object
dataType System.Type
prefix string
리턴 void

SerializeSimpleValue() 보호된 메소드

protected SerializeSimpleValue ( object data, Type dataType, string prefix ) : void
data object
dataType System.Type
prefix string
리턴 void