RootExtensions class | QSYS API Reference Guide
Provides extension methods for the root configuration.
Namespace: ASNA.Extensions.Configuration Assembly: ASNA.QSys.DataGate.Client.dll
Inheritance: Object
Properties
| Type | Name | Description |
|---|---|---|
| String | SECTION_ASNA | Represents the section name in the configuration that contains the ASNA configuration. |
| String | SECTION_ASNA_DG | Represents the section name in the ASNA configuration that contains the DataGate configuration. |
Methods
| Signature | Description |
|---|---|
| GetAsnaConfig(IConfiguration) | Retrieves the ASNA configuration section from the configuration. |
| GetDataGateConfig(IConfiguration) | Retrieves the DataGate configuration section from the ASNA configuration. |
IConfigurationSection GetAsnaConfig(IConfiguration This)
Retrieves the ASNA configuration section from the configuration.
Remarks
This method is used to retrieve the ASNA configuration section from the configuration. The section is identified by the SECTION_ASNA constant.
IConfigurationSection GetAsnaConfig(IConfiguration This)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| IConfiguration | This | The configuration. |
Returns
| Type | Description |
|---|---|
| IConfigurationSection | The ASNA configuration section. |
IConfigurationSection GetDataGateConfig(IConfiguration This)
Retrieves the DataGate configuration section from the ASNA configuration.
Remarks
This method is used to retrieve the DataGate configuration section from the ASNA configuration. The section is identified by the SECTION_ASNA_DG constant.
IConfigurationSection GetDataGateConfig(IConfiguration This)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| IConfiguration | This | The configuration. |
Returns
| Type | Description |
|---|---|
| IConfigurationSection | The DataGate configuration section. |