C# Class Opc.Ua.Schema.Binary.BinarySchemaValidator

Generates files used to describe data types.
Inheritance: SchemaValidator
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary

Public Methods

Method Description
BinarySchemaValidator ( ) : System

Intializes the object with default values.

BinarySchemaValidator ( string>.Dictionary fileTable ) : System

Intializes the object with a file table.

GetSchema ( string typeName ) : string

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

Validate ( Stream stream ) : Task

Generates the code from the contents of the address space.

Validate ( string inputPath ) : Task

Generates the code from the contents of the address space.

Private Methods

Method Description
GetFieldLength ( FieldType field ) : int

Returns the length of field in bits (-1 if the length is not fixed).

Import ( ImportDirective directive ) : Task

Imports a dictionary identified by an import directive.

ImportDescription ( TypeDescription description, string targetNamespace ) : void

Imports a type description.

IsIntegerType ( FieldType field ) : bool

Returns true if field is an integer type.

IsNull ( Documentation documentation ) : bool

Returns true if the documentation element is empty.

IsValidName ( string name ) : bool

Checks if a string is a valid part of a qname.

Validate ( ) : Task

Generates the code from the contents of the address space.

ValidateDescription ( TypeDescription description ) : void

Validates a type description.

ValidateField ( StructuredType description, FieldType>.Dictionary fields, FieldType field ) : void

Validates a field in a structured type description.

Method Details

BinarySchemaValidator() public method

Intializes the object with default values.
public BinarySchemaValidator ( ) : System
return System

BinarySchemaValidator() public method

Intializes the object with a file table.
public BinarySchemaValidator ( string>.Dictionary fileTable ) : System
fileTable string>.Dictionary
return System

GetSchema() public method

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

Validate() public method

Generates the code from the contents of the address space.
public Validate ( Stream stream ) : Task
stream Stream
return Task

Validate() public method

Generates the code from the contents of the address space.
public Validate ( string inputPath ) : Task
inputPath string
return Task