ExtendedSchema Class
Extension to the core schema and accept different flavor of scalars
- bool(true): y|Y|yes|Yes|YES|true|True|TRUE|on|On|ON
- bool(false): n|N|no|No|NO|false|False|FALSE|off|Off|OFF
- timestamp
public class ExtendedSchema : CoreSchema- Inheritance
CoreSchemaExtendedSchema
Constructors
| Name | Description |
|---|---|
| ExtendedSchema() | Initializes a new instance of the ExtendedSchema class. |
ExtendedSchema()
ExtendedSchema.csInitializes a new instance of the ExtendedSchema class.
public ExtendedSchema()Methods
| Name | Description |
|---|---|
| PrepareScalarRules() | Registers scalar resolution rules for the extended YAML schema. |
PrepareScalarRules()
ExtendedSchema.csRegisters scalar resolution rules for the extended YAML schema.
protected override void PrepareScalarRules()Constants
| Name | Description |
|---|---|
| MergeLongTag | The merge long tag: tag:yaml.org,2002:merge |
| MergeShortTag | The merge short tag: !!merge |
| TimestampLongTag | The timestamp long tag: tag:yaml.org,2002:timestamp |
| TimestampShortTag | The timestamp short tag: !!timestamp |
MergeLongTag
The merge long tag: tag:yaml.org,2002:merge
public const string MergeLongTag = "tag:yaml.org,2002:merge"MergeShortTag
The merge short tag: !!merge
public const string MergeShortTag = "!!merge"TimestampLongTag
The timestamp long tag: tag:yaml.org,2002:timestamp
public const string TimestampLongTag = "tag:yaml.org,2002:timestamp"TimestampShortTag
The timestamp short tag: !!timestamp
public const string TimestampShortTag = "!!timestamp"