IYamlSchema Interface
Provides schema information for tag resolution.
public interface IYamlSchemaMethods
| Name | Description |
|---|---|
| ExpandTag(string) | Expands the tag. Example, transforms a short tag '!!str' to its long version 'tag:yaml.org,2002:str' |
| GetDefaultTag(NodeEvent) | Gets the default tag for the specified NodeEvent. The default tag can be different from a actual tag of this NodeEvent. |
| GetDefaultTag(Type) | Gets the default tag for the specified Type. This is only valid for scalar, return null if no default tag found. |
| GetTypeForDefaultTag(string?) | Gets the type for a default tag. |
| IsTagImplicit(string?) | Determines whether the short tag implicit (e.g. !!int). |
| RegisterTag(string, string) | Registers a long/short tag association. |
| ShortenTag(string) | Shortens the tag. Example, transforms a long tag 'tag:yaml.org,2002:str' to its short version '!!str' |
| TryParse(Scalar, bool, string?, object?) | Gets the default tag and value for the specified Scalar. The default tag can be different from a actual tag of this NodeEvent. |
| TryParse(Scalar, Type, object?) | Gets the default tag and value for the specified Scalar. The default tag can be different from a actual tag of this NodeEvent. |