DataGateExtensions.GetSourceProfiles Method
Definition
Namespace: ASNA.Extensions.Configuration
Assembly: ASNA.QSys.DataGate.Client.dll
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. |