Ejemplo n.º 1
0
 public void Write(Utf8JsonWriter writer, object obj, JsonSerializerOptions options)
 {
     _discriminatorConvention.WriteDiscriminator(writer, obj.GetType());
 }
Ejemplo n.º 2
0
 public void Write(ref CborWriter writer, object obj)
 {
     _discriminatorConvention.WriteDiscriminator(ref writer, obj.GetType());
 }