C# 클래스 System.Xml.Schema.SymbolsDictionary

SymbolsDictionary is a map between names that ContextValidator recognizes and symbols - int symbol[XmlQualifiedName name]. There are two types of name - full names and wildcards (namespace is specified, local name is anythig). Wildcard excludes all full names that would match by the namespace part. SymbolsDictionry alwas recognizes all the symbols - the last one is a true wildcard - both name and namespace can be anything that none of the other symbols matched.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
AddName ( XmlQualifiedName name, object particle ) : int

Add name and return it's number

AddNamespaceList ( NamespaceList list, object particle, bool allowLocal ) : void
Exists ( XmlQualifiedName name ) : bool

Check if a name exists in the symbol dictionary

GetNamespaceListSymbols ( NamespaceList list ) : ICollection
GetParticle ( int symbol ) : object

Return content processing mode for the symbol

NameOf ( int symbol ) : string

Output symbol's name

SymbolsDictionary ( ) : System
this ( XmlQualifiedName name ) : int

Find the symbol for the given name. If neither names nor wilcards match it last (*.*) symbol will be returned

비공개 메소드들

메소드 설명
AddWildcard ( string wildcard, object particle ) : void

메소드 상세

AddName() 공개 메소드

Add name and return it's number
public AddName ( XmlQualifiedName name, object particle ) : int
name XmlQualifiedName
particle object
리턴 int

AddNamespaceList() 공개 메소드

public AddNamespaceList ( NamespaceList list, object particle, bool allowLocal ) : void
list NamespaceList
particle object
allowLocal bool
리턴 void

Exists() 공개 메소드

Check if a name exists in the symbol dictionary
public Exists ( XmlQualifiedName name ) : bool
name XmlQualifiedName
리턴 bool

GetNamespaceListSymbols() 공개 메소드

public GetNamespaceListSymbols ( NamespaceList list ) : ICollection
list NamespaceList
리턴 ICollection

GetParticle() 공개 메소드

Return content processing mode for the symbol
public GetParticle ( int symbol ) : object
symbol int
리턴 object

NameOf() 공개 메소드

Output symbol's name
public NameOf ( int symbol ) : string
symbol int
리턴 string

SymbolsDictionary() 공개 메소드

public SymbolsDictionary ( ) : System
리턴 System

this() 공개 메소드

Find the symbol for the given name. If neither names nor wilcards match it last (*.*) symbol will be returned
public this ( XmlQualifiedName name ) : int
name XmlQualifiedName
리턴 int