C# 클래스 FluentLinqToSql.ActiveRecord.NameValueDeserializer

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

공개 메소드들

메소드 설명
Deserialize ( NameValueCollection collection, string prefix, Type targetType ) : object

Deserializes the specified request collection.

Deserialize ( NameValueCollection collection, string prefix, Type targetType, object instance ) : void

보호된 메소드들

메소드 설명
CheckPrefixInRequest ( NameValueCollection collection, string prefix ) : bool
CreateGenericListInstance ( Type targetType ) : IList
CreateInstance ( Type targetType ) : object
DeserializeArrayList ( NameValueCollection collection, string prefix, Type elementType ) : ArrayList
DeserializeGenericList ( NameValueCollection collection, string prefix, Type targetType, IList &instance ) : void
GetArrayPrefixes ( NameValueCollection collection, string prefix ) : string[]
GetComplexProperty ( object instance, PropertyInfo property ) : object
GetGenericListProperty ( object instance, PropertyInfo property ) : IList
GetProperties ( Type targetType ) : System.Reflection.PropertyInfo[]
IsGenericList ( Type instanceType ) : bool
IsSimpleProperty ( Type propertyType ) : bool
SetValue ( object instance, PropertyInfo property, IConvertible oValue ) : bool
SetValue ( object instance, PropertyInfo property, object value ) : bool

비공개 메소드들

메소드 설명
GetConvertible ( string sValue ) : IConvertible

메소드 상세

CheckPrefixInRequest() 보호된 메소드

protected CheckPrefixInRequest ( NameValueCollection collection, string prefix ) : bool
collection System.Collections.Specialized.NameValueCollection
prefix string
리턴 bool

CreateGenericListInstance() 보호된 메소드

protected CreateGenericListInstance ( Type targetType ) : IList
targetType System.Type
리턴 IList

CreateInstance() 보호된 메소드

protected CreateInstance ( Type targetType ) : object
targetType System.Type
리턴 object

Deserialize() 공개 메소드

Deserializes the specified request collection.
public Deserialize ( NameValueCollection collection, string prefix, Type targetType ) : object
collection System.Collections.Specialized.NameValueCollection The collection.
prefix string The prefix.
targetType System.Type Type of the target.
리턴 object

Deserialize() 공개 메소드

public Deserialize ( NameValueCollection collection, string prefix, Type targetType, object instance ) : void
collection System.Collections.Specialized.NameValueCollection
prefix string
targetType System.Type
instance object
리턴 void

DeserializeArrayList() 보호된 메소드

protected DeserializeArrayList ( NameValueCollection collection, string prefix, Type elementType ) : ArrayList
collection System.Collections.Specialized.NameValueCollection
prefix string
elementType System.Type
리턴 System.Collections.ArrayList

DeserializeGenericList() 보호된 메소드

protected DeserializeGenericList ( NameValueCollection collection, string prefix, Type targetType, IList &instance ) : void
collection System.Collections.Specialized.NameValueCollection
prefix string
targetType System.Type
instance IList
리턴 void

GetArrayPrefixes() 보호된 메소드

protected GetArrayPrefixes ( NameValueCollection collection, string prefix ) : string[]
collection System.Collections.Specialized.NameValueCollection
prefix string
리턴 string[]

GetComplexProperty() 보호된 메소드

protected GetComplexProperty ( object instance, PropertyInfo property ) : object
instance object
property System.Reflection.PropertyInfo
리턴 object

GetGenericListProperty() 보호된 메소드

protected GetGenericListProperty ( object instance, PropertyInfo property ) : IList
instance object
property System.Reflection.PropertyInfo
리턴 IList

GetProperties() 보호된 정적인 메소드

protected static GetProperties ( Type targetType ) : System.Reflection.PropertyInfo[]
targetType System.Type
리턴 System.Reflection.PropertyInfo[]

IsGenericList() 보호된 메소드

protected IsGenericList ( Type instanceType ) : bool
instanceType System.Type
리턴 bool

IsSimpleProperty() 보호된 메소드

protected IsSimpleProperty ( Type propertyType ) : bool
propertyType System.Type
리턴 bool

SetValue() 보호된 메소드

protected SetValue ( object instance, PropertyInfo property, IConvertible oValue ) : bool
instance object
property System.Reflection.PropertyInfo
oValue IConvertible
리턴 bool

SetValue() 보호된 메소드

protected SetValue ( object instance, PropertyInfo property, object value ) : bool
instance object
property System.Reflection.PropertyInfo
value object
리턴 bool