HumanReadableConverter Class
Base class for converters that convert objects to human-readable text.
public abstract class HumanReadableConverterConstructors
| Name | Description |
|---|---|
| HumanReadableConverter() |
HumanReadableConverter()
protected HumanReadableConverter()No documentation is available.
Properties
| Name | Description |
|---|---|
| HandleNull | Gets a value indicating whether this converter handles null values. |
HandleNull
HumanReadableConverter.csMethods
| Name | Description |
|---|---|
| CanConvert(Type) | Determines whether this converter can convert the specified type. |
| WriteValue(HumanReadableTextWriter, object?, Type, HumanReadableSerializerOptions) | Writes a value to the writer. |
CanConvert(Type)
WriteValue(HumanReadableTextWriter, object?, Type, HumanReadableSerializerOptions)
Writes a value to the writer.
public abstract void WriteValue(HumanReadableTextWriter writer, object? value, Type valueType, HumanReadableSerializerOptions options)Parameters
writerHumanReadableTextWriter- The writer to write to.
valueobject?- The value to write.
valueTypeType- The type of the value.
optionsHumanReadableSerializerOptions- The serialization options.