C# Class YamlDotNet.Serialization.TagMappings

Contains mappings between tags and types.
Mostrar archivo Open project: aaubry/YamlDotNet

Public Methods

Method 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

Method Description
GetMapping ( string tag ) : Type

Gets the mapping.

Method Details

Add() public method

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

TagMappings() public method

Initializes a new instance of the TagMappings class.
public TagMappings ( ) : System
return System

TagMappings() public method

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