C# Class ServiceStack.Serialization.StringMapTypeDeserializer

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CreateFromMap ( string>.IDictionary keyValuePairs ) : object
keyValuePairs string>.IDictionary
Résultat object

CreateFromMap() public méthode

public CreateFromMap ( INameValueCollection nameValues ) : object
nameValues INameValueCollection
Résultat object

GetParseFn() public méthode

public GetParseFn ( Type propertyType ) : ParseStringDelegate
propertyType System.Type
Résultat ParseStringDelegate

PopulateFromMap() public méthode

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

PopulateFromMap() public méthode

public PopulateFromMap ( object instance, INameValueCollection nameValues, List ignoredWarningsOnPropertyNames = null ) : object
instance object
nameValues INameValueCollection
ignoredWarningsOnPropertyNames List
Résultat object

StringMapTypeDeserializer() public méthode

public StringMapTypeDeserializer ( Type type ) : System
type System.Type
Résultat System