DataGateExtensions class | QSYS API Reference Guide

Provides extension methods for the DataGate configuration.

Namespace: ASNA.Extensions.Configuration Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object

Properties

Type Name Description
String SECTION_SOURCES Represents the section name in the configuration that contains the source profiles.

Methods

Signature Description
GetSourceProfiles(IConfiguration) Retrieves a read-only dictionary of source profiles from the configuration.

IReadOnlyDictionary<string, SourceProfile> GetSourceProfiles(IConfiguration config)

Retrieves a read-only dictionary of source profiles from the configuration.

Remarks

This method is used to retrieve all source profiles from the configuration. The source profiles are loaded lazily, which means they are only loaded when they are accessed.

IReadOnlyDictionary<string, SourceProfile> GetSourceProfiles(IConfiguration config)

Parameters

Type Parameter name Description
IConfiguration config The configuration.

Returns

Type Description
IReadOnlyDictionary`2 A read-only dictionary of source profiles. The key is the name of the source profile, and the value is the source profile itself.