C# Class Opc.Ua.Configuration.ManagedApplication

Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Private Properties

Свойство Type Description
GetApplicationSettings Opc.Ua.Security.SecuredApplication
GetConfigFileFromAppConfig string
LoadSdkConfigFile void

Méthodes publiques

Méthode Description
Load ( string filePath ) : ManagedApplication

Loads the specified file path.

ManagedApplication ( ) : System

Initializes a new instance of the ManagedApplication class.

Reload ( ) : void

Reloads the configuration from disk.

Save ( string filePath ) : void

Saves the specified file path.

SetConfigurationFile ( string filePath ) : void

Sets the configuration file.

SetExecutableFile ( string filePath ) : void

Sets the executable file.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Méthode Description
GetApplicationSettings ( string filePath ) : Opc.Ua.Security.SecuredApplication

Gets the application secuirty settings from a file.

GetConfigFileFromAppConfig ( FileInfo appConfigFile ) : string

Gets the config file location from app config.

LoadSdkConfigFile ( ) : void

Tries to loads the SDK config file.

Method Details

Load() public static méthode

Loads the specified file path.
public static Load ( string filePath ) : ManagedApplication
filePath string The file path.
Résultat ManagedApplication

ManagedApplication() public méthode

Initializes a new instance of the ManagedApplication class.
public ManagedApplication ( ) : System
Résultat System

Reload() public méthode

Reloads the configuration from disk.
public Reload ( ) : void
Résultat void

Save() public méthode

Saves the specified file path.
public Save ( string filePath ) : void
filePath string The file path. Uses the original source file path if not provided.
Résultat void

SetConfigurationFile() public méthode

Sets the configuration file.
public SetConfigurationFile ( string filePath ) : void
filePath string The file path.
Résultat void

SetExecutableFile() public méthode

Sets the executable file.
public SetExecutableFile ( string filePath ) : void
filePath string The file path.
Résultat void

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string