C# Class Google.Maps.JsonEnumTypeConverter

Inheritance: Newtonsoft.Json.JsonConverter
Afficher le fichier Open project: ericnewton76/gmaps-api-net

Méthodes publiques

Méthode Description
AsAddressType ( string s ) : AddressType
AsLocationType ( string s ) : LocationType
AsResponseStatus ( string s ) : ServiceResponseStatus
CanConvert ( Type objectType ) : bool
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Private Methods

Méthode Description
AsPlaceType ( string s ) : Places.PlaceType

Method Details

AsAddressType() public static méthode

public static AsAddressType ( string s ) : AddressType
s string
Résultat AddressType

AsLocationType() public static méthode

public static AsLocationType ( string s ) : LocationType
s string
Résultat LocationType

AsResponseStatus() public static méthode

public static AsResponseStatus ( string s ) : ServiceResponseStatus
s string
Résultat ServiceResponseStatus

CanConvert() public méthode

public CanConvert ( Type objectType ) : bool
objectType System.Type
Résultat bool

ReadJson() public méthode

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
Résultat object

WriteJson() public méthode

public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value object
serializer Newtonsoft.Json.JsonSerializer
Résultat void