C# Class ServiceStack.Serialization.StringMapTypeDeserializer

Serializer cache of delegates required to create a type from a string map (e.g. for REST urls)
Mostra file Open project: ServiceStack/ServiceStack Class Usage Examples

Public Methods

Method Description
CreateFromMap ( string>.IDictionary keyValuePairs ) : object
CreateFromMap ( INameValueCollection nameValues ) : object
GetParseFn ( Type propertyType ) : ParseStringDelegate
PopulateFromMap ( object instance, string>.IDictionary keyValuePairs, List ignoredWarningsOnPropertyNames = null ) : object
PopulateFromMap ( object instance, INameValueCollection nameValues, List ignoredWarningsOnPropertyNames = null ) : object
StringMapTypeDeserializer ( Type type ) : System

Private Methods

Method Description
PopulateFromKeyValue ( object instance, string propertyName, string propertyTextValue, PropertySerializerEntry &propertySerializerEntry, List errors, List ignoredWarningsOnPropertyNames = null ) : object
StringMapTypeDeserializer ( Type type, ILog log ) : System

Method Details

CreateFromMap() public method

public CreateFromMap ( string>.IDictionary keyValuePairs ) : object
keyValuePairs string>.IDictionary
return object

CreateFromMap() public method

public CreateFromMap ( INameValueCollection nameValues ) : object
nameValues INameValueCollection
return object

GetParseFn() public method

public GetParseFn ( Type propertyType ) : ParseStringDelegate
propertyType System.Type
return ParseStringDelegate

PopulateFromMap() public method

public PopulateFromMap ( object instance, string>.IDictionary keyValuePairs, List ignoredWarningsOnPropertyNames = null ) : object
instance object
keyValuePairs string>.IDictionary
ignoredWarningsOnPropertyNames List
return object

PopulateFromMap() public method

public PopulateFromMap ( object instance, INameValueCollection nameValues, List ignoredWarningsOnPropertyNames = null ) : object
instance object
nameValues INameValueCollection
ignoredWarningsOnPropertyNames List
return object

StringMapTypeDeserializer() public method

public StringMapTypeDeserializer ( Type type ) : System
type System.Type
return System