Class QueryFilterConverter

Current version: 4.0

Handles the creation of instances of QueryFilter based on their type property.

Inheritance
object
QueryFilterConverter
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class QueryFilterConverter : JsonConverter

Properties

CanWrite

Declaration
RequestResponse
public override bool CanWrite { get; }
Property Value
TypeDescription
bool

Methods

CanConvert(Type)

Declaration
RequestResponse
public override bool CanConvert(Type objectType)
Parameters
TypeNameDescription
TypeobjectType
Returns
TypeDescription
bool

ReadJson(JsonReader, Type, object, JsonSerializer)

Declaration
RequestResponse
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonReaderreader
TypeobjectType
objectexistingValue
JsonSerializerserializer
Returns
TypeDescription
object

WriteJson(JsonWriter, object, JsonSerializer)

Declaration
RequestResponse
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonWriterwriter
objectvalue
JsonSerializerserializer

Do you have some feedback for us?

If you have suggestions for improving this article,