System.Yaml.Serialization.YamlRepresenter.MapKey C# (CSharp) Méthode

MapKey() private méthode

private MapKey ( string key ) : YamlScalar
key string
Résultat YamlScalar
        private YamlScalar MapKey(string key)
        {
            var node = (YamlScalar)key;
            node.Properties["expectedTag"] = YamlNode.ExpandTag("!!str");
            node.Properties["plainText"] = "true";
            return node;
        }