C# Class YamlDotNet.Serialization.TagMappings

Contains mappings between tags and types.
Afficher le fichier Open project: aaubry/YamlDotNet

Méthodes publiques

Méthode Description
Add ( string tag, Type mapping ) : void

Adds the specified tag.

TagMappings ( ) : System

Initializes a new instance of the TagMappings class.

TagMappings ( Type>.IDictionary mappings ) : System

Initializes a new instance of the TagMappings class.

Private Methods

Méthode Description
GetMapping ( string tag ) : Type

Gets the mapping.

Method Details

Add() public méthode

Adds the specified tag.
public Add ( string tag, Type mapping ) : void
tag string The tag.
mapping System.Type The mapping.
Résultat void

TagMappings() public méthode

Initializes a new instance of the TagMappings class.
public TagMappings ( ) : System
Résultat System

TagMappings() public méthode

Initializes a new instance of the TagMappings class.
public TagMappings ( Type>.IDictionary mappings ) : System
mappings Type>.IDictionary The mappings.
Résultat System