Method GetAssociationFeatureSourcesAsync
GetAssociationFeatureSourcesAsync(UtilityAssociationsFilter, CancellationToken)
Gets the UtilityAssociationFeatureSource objects from the UtilityNetwork.
Declaration
public Task<IReadOnlyList<UtilityAssociationFeatureSource>> GetAssociationFeatureSourcesAsync(UtilityAssociationsFilter filter, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityAssociationsFilter | filter | The UtilityAssociationsFilter that provides the filter definition. |
| CancellationToken | cancellationToken | A cancellation token that can be used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task<IReadOnlyList<UtilityAssociationFeatureSource>> | A list of UtilityAssociationFeatureSource objects. |
Remarks
Checks the utility rules and the filter definition to find all UtilityAssociationFeatureSource objects that can be used to create an association. Use QueryFeaturesAsync(CancellationToken) to get the actual features from a UtilityAssociationFeatureSource.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |