Skip to main content

StringMapTypeDeserializer

Serializer cache of delegates required to create a type from a string map (e.g. for REST urls)

Assembly: ServiceStack.Client.dll
View Source
Declaration
public class StringMapTypeDeserializer

Properties

ContentTypeStringSerializers

View Source
Declaration
public static Dictionary<string, IStringSerializer> ContentTypeStringSerializers { get; }

TypeStringSerializers

View Source
Declaration
public static ConcurrentDictionary<Type, IStringSerializer> TypeStringSerializers { get; }

Methods

PopulateFromMap(Object, IDictionary<String, String>, HashSet<String>)

View Source
Declaration
public object PopulateFromMap(object instance, IDictionary<string, string> keyValuePairs, HashSet<string> ignoredWarningsOnPropertyNames = null)
Returns

System.Object

Parameters
TypeName
System.Objectinstance
System.Collections.Generic.IDictionary<System.String,System.String>keyValuePairs
System.Collections.Generic.HashSet<System.String>ignoredWarningsOnPropertyNames

PopulateFromMap(Object, NameValueCollection, HashSet<String>)

View Source
Declaration
public object PopulateFromMap(object instance, NameValueCollection nameValues, HashSet<string> ignoredWarningsOnPropertyNames = null)
Returns

System.Object

Parameters
TypeName
System.Objectinstance
System.Collections.Specialized.NameValueCollectionnameValues
System.Collections.Generic.HashSet<System.String>ignoredWarningsOnPropertyNames

CreateFromMap(IDictionary<String, String>)

View Source
Declaration
public object CreateFromMap(IDictionary<string, string> keyValuePairs)
Returns

System.Object

Parameters
TypeName
System.Collections.Generic.IDictionary<System.String,System.String>keyValuePairs

CreateFromMap(NameValueCollection)

View Source
Declaration
public object CreateFromMap(NameValueCollection nameValues)
Returns

System.Object

Parameters
TypeName
System.Collections.Specialized.NameValueCollectionnameValues