C# 클래스 Opc.Ua.Schema.SchemaValidator

A base class for schema validators.
파일 보기 프로젝트 열기: OPCFoundation/Misc-Tools

공개 메소드들

메소드 설명
GetSchema ( string typeName ) : string

Returns the schema for the specified type (returns the entire schema if null).

SchemaValidator ( ) : System

Intializes the object with default values.

SchemaValidator ( string>.Dictionary knownFiles ) : System

Intializes the object with a file table.

보호된 메소드들

메소드 설명
Exception ( string format ) : Exception

Formats a string and throws an exception.

Exception ( string format, object arg1 ) : Exception

Formats a string and throws an exception.

Exception ( string format, object arg1, object arg2 ) : Exception

Formats a string and throws an exception.

Exception ( string format, object arg1, object arg2, object arg3 ) : Exception

Formats a string and throws an exception.

IsNull ( XmlQualifiedName name ) : bool

Returns true if the QName is null,

Load ( System type, string namespaceUri, string path ) : object

Loads the dictionary from a file.

LoadFile ( System type, Stream stream ) : object

Loads a schema from a file.

LoadFile ( System type, string path ) : object

Loads a schema from a file.

LoadInput ( System type, Stream stream ) : object

Loads an input file for validation.

LoadInput ( System type, string path ) : object

Loads an input file for validation.

LoadResource ( System type, string path, Assembly assembly ) : object

Loads a schema from an embedded resource.

SetResourcePaths ( string resources ) : void

Adds the embedded resources to the file table.

메소드 상세

Exception() 보호된 정적인 메소드

Formats a string and throws an exception.
protected static Exception ( string format ) : Exception
format string
리턴 System.Exception

Exception() 보호된 정적인 메소드

Formats a string and throws an exception.
protected static Exception ( string format, object arg1 ) : Exception
format string
arg1 object
리턴 System.Exception

Exception() 보호된 정적인 메소드

Formats a string and throws an exception.
protected static Exception ( string format, object arg1, object arg2 ) : Exception
format string
arg1 object
arg2 object
리턴 System.Exception

Exception() 보호된 정적인 메소드

Formats a string and throws an exception.
protected static Exception ( string format, object arg1, object arg2, object arg3 ) : Exception
format string
arg1 object
arg2 object
arg3 object
리턴 System.Exception

GetSchema() 공개 메소드

Returns the schema for the specified type (returns the entire schema if null).
public GetSchema ( string typeName ) : string
typeName string
리턴 string

IsNull() 보호된 정적인 메소드

Returns true if the QName is null,
protected static IsNull ( XmlQualifiedName name ) : bool
name System.Xml.XmlQualifiedName
리턴 bool

Load() 보호된 메소드

Loads the dictionary from a file.
protected Load ( System type, string namespaceUri, string path ) : object
type System
namespaceUri string
path string
리턴 object

LoadFile() 보호된 정적인 메소드

Loads a schema from a file.
protected static LoadFile ( System type, Stream stream ) : object
type System
stream Stream
리턴 object

LoadFile() 보호된 정적인 메소드

Loads a schema from a file.
protected static LoadFile ( System type, string path ) : object
type System
path string
리턴 object

LoadInput() 보호된 메소드

Loads an input file for validation.
protected LoadInput ( System type, Stream stream ) : object
type System
stream Stream
리턴 object

LoadInput() 보호된 메소드

Loads an input file for validation.
protected LoadInput ( System type, string path ) : object
type System
path string
리턴 object

LoadResource() 보호된 정적인 메소드

Loads a schema from an embedded resource.
protected static LoadResource ( System type, string path, Assembly assembly ) : object
type System
path string
assembly System.Reflection.Assembly
리턴 object

SchemaValidator() 공개 메소드

Intializes the object with default values.
public SchemaValidator ( ) : System
리턴 System

SchemaValidator() 공개 메소드

Intializes the object with a file table.
public SchemaValidator ( string>.Dictionary knownFiles ) : System
knownFiles string>.Dictionary
리턴 System

SetResourcePaths() 보호된 메소드

Adds the embedded resources to the file table.
protected SetResourcePaths ( string resources ) : void
resources string
리턴 void