C# 클래스 YamlDotNet.Serialization.TagMappings

Contains mappings between tags and types.
파일 보기 프로젝트 열기: aaubry/YamlDotNet

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GetMapping ( string tag ) : Type

Gets the mapping.

메소드 상세

Add() 공개 메소드

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

TagMappings() 공개 메소드

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

TagMappings() 공개 메소드

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