Class PolymorphicRequestConverter<TKey, T>
Inheritance
JsonConverter
JsonConverter<T>
PolymorphicRequestConverter<TKey, T>
Assembly: Glitch9.IO.dll
Syntax
public abstract class PolymorphicRequestConverter<TKey, T> : RequestConverter<T> where T : class
Type Parameters
Methods
|
Edit this page
View Source
GetJsonWriter(TKey)
Declaration
public static IPolymorphicRequestWriter<T> GetJsonWriter(TKey key)
Parameters
| Type |
Name |
Description |
| TKey |
key |
|
Returns
|
Edit this page
View Source
RegisterWriter(TKey, IPolymorphicRequestWriter<T>)
Declaration
public static void RegisterWriter(TKey key, IPolymorphicRequestWriter<T> writer)
Parameters
|
Edit this page
View Source
ToJson(JsonWriter, T, JsonSerializer)
Declaration
protected override void ToJson(JsonWriter writer, T value, JsonSerializer serializer)
Parameters
| Type |
Name |
Description |
| JsonWriter |
writer |
|
| T |
value |
|
| JsonSerializer |
serializer |
|
Overrides
Extension Methods