MappingStart Class
Represents a mapping start event.
public sealed class MappingStart : NodeEvent- Inheritance
NodeEventMappingStart
Constructors
| Name | Description |
|---|---|
| MappingStart() | Initializes a new instance of the MappingStart class. |
| MappingStart(string?, string?, bool, YamlStyle) | Initializes a new instance of the MappingStart class. |
| MappingStart(string?, string?, bool, YamlStyle, Mark, Mark) | Initializes a new instance of the MappingStart class. |
MappingStart overloads
MappingStart()
MappingStart.csInitializes a new instance of the MappingStart class.
public MappingStart()MappingStart(string?, string?, bool, YamlStyle)
MappingStart.csMappingStart(string?, string?, bool, YamlStyle, Mark, Mark)
MappingStart.csProperties
| Name | Description |
|---|---|
| IsCanonical | Gets a value indicating whether this instance is canonical. |
| IsImplicit | Gets a value indicating whether this instance is implicit. |
| NestingIncrease | Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0. |
| Style | Gets the style of the mapping. |
IsCanonical
MappingStart.csIsImplicit
MappingStart.csNestingIncrease
MappingStart.csStyle
MappingStart.csMethods
| Name | Description |
|---|---|
| ToString() | Returns a String that represents the current Object. |