AddScalarRule(Type[], String, String, Func<Match, Object>, Func<Object, String>?) Method

Definition

Assembly SharpYaml.dll

Adds a scalar resolution rule for one or more CLR types.

protected void AddScalarRule(Type[] types, string tag, string regex, Func<Match, object> decode, Func<object, string>? encode)

Parameters

types
Type[]
tag
String
regex
String