YamlConverter Class
Definition
- Namespace
- Bodu.Text.Yaml.Serialization
- Assembly
- Bodu.Text.Yaml.dll
- Package
- Bodu.Text.Yaml 1.0.0
- Source
- YamlConverter.cs
Serves as the non-generic base for custom YAML converters, in the manner of JsonConverter.
public abstract class YamlConverter
- Inheritance
-
YamlConverter
- Derived
- Inherited Members
- Extension Methods
Remarks
The constructor is inaccessible outside this assembly, so external code extends the model through YamlConverter<T> rather than deriving from this type directly.
Methods
CanConvert(Type)
Determines whether the converter can convert the specified type.
public abstract bool CanConvert(Type typeToConvert)
Parameters
typeToConvertTypeThe type to test.
Returns
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |