Home
API
SharpYaml.Schemas
FailsafeSchema
Menu
On this page
FailsafeSchema Class
Definition
Show inherited members (23)
SharpYaml.Schemas.SchemaBase.StrShortTag
SharpYaml.Schemas.SchemaBase.StrLongTag
SharpYaml.Schemas.SchemaBase.ExpandTag(System.String?)
SharpYaml.Schemas.SchemaBase.ShortenTag(System.String?)
SharpYaml.Schemas.SchemaBase.GetDefaultTag(SharpYaml.Events.NodeEvent)
SharpYaml.Schemas.SchemaBase.GetDefaultTag(System.Type)
SharpYaml.Schemas.SchemaBase.IsTagImplicit(System.String?)
SharpYaml.Schemas.SchemaBase.RegisterTag(System.String, System.String)
SharpYaml.Schemas.SchemaBase.TryParse(SharpYaml.Events.Scalar, System.Type, out System.Object?)
SharpYaml.Schemas.SchemaBase.GetTypeForDefaultTag(System.String?)
SharpYaml.Schemas.SchemaBase.PrepareScalarRules()
SharpYaml.Schemas.SchemaBase.AddScalarRule<T>(System.String, System.String, System.Func<System.Text.RegularExpressions.Match, T>, System.Func<T, System.String>?)
SharpYaml.Schemas.SchemaBase.AddScalarRule(System.Type[], System.String, System.String, System.Func<System.Text.RegularExpressions.Match, System.Object>, System.Func<System.Object, System.String>?)
SharpYaml.Schemas.SchemaBase.RegisterDefaultTagMapping<T>(System.String, System.Boolean)
SharpYaml.Schemas.SchemaBase.RegisterDefaultTagMapping(System.String, System.Type, System.Boolean)
SharpYaml.Schemas.SchemaBase.RegisterDefaultTagMappings()
System.Object.Equals(System.Object?)
System.Object.Equals(System.Object?, System.Object?)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object?, System.Object?)
System.Object.ToString()
Implements the YAML failsafe schema.
http://www.yaml.org/spec/1.2/spec.html#id2802346
public class FailsafeSchema : SchemaBase, IYamlSchema
The failsafe schema is guaranteed to work with any YAML document.
It is therefore the recommended schema for generic YAML tools.
A YAML processor should therefore support this schema, at least as an option.
Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.
Constructors (1)
Fields (4)
Properties (1)
AllowFailsafeStringGets or sets a value indicating whether this schema should always fallback to a failsafe string in case of not matching any scalar rules. Default is true for FailsafeSchema
Methods (3)