C# Class Opc.Ua.ServerTest.ServerTestConfiguration

A class that holds the configuration for a UA service.
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
GetNodeList ( IList nodes, NamespaceTable namespaceUris ) : List

Returns the node ids of the test nodes in the list.

Load ( XmlElementCollection extensions ) : ServerTestConfiguration

Loads the configuration from the application configuration file.

Load ( string filePath, ServerTestConfiguration masterConfiguration ) : ServerTestConfiguration

Loads the configuration from a file on disk.

ReplaceNodeList ( IList nodes, IList newNodes, NamespaceTable namespaceUris ) : void

Replaces the test nodes in the list.

Save ( string filePath ) : void

Saves the configuration to a file on disk.

Method Details

GetNodeList() public method

Returns the node ids of the test nodes in the list.
public GetNodeList ( IList nodes, NamespaceTable namespaceUris ) : List
nodes IList
namespaceUris NamespaceTable
return List

Load() public static method

Loads the configuration from the application configuration file.
public static Load ( XmlElementCollection extensions ) : ServerTestConfiguration
extensions System.Xml.XmlElementCollection
return ServerTestConfiguration

Load() public static method

Loads the configuration from a file on disk.
public static Load ( string filePath, ServerTestConfiguration masterConfiguration ) : ServerTestConfiguration
filePath string
masterConfiguration ServerTestConfiguration
return ServerTestConfiguration

ReplaceNodeList() public method

Replaces the test nodes in the list.
public ReplaceNodeList ( IList nodes, IList newNodes, NamespaceTable namespaceUris ) : void
nodes IList
newNodes IList
namespaceUris NamespaceTable
return void

Save() public method

Saves the configuration to a file on disk.
public Save ( string filePath ) : void
filePath string
return void