Class UtilityTraceFunction
Functions allow the computation of values during a network trace.
Namespace: Esri.ArcGISRuntime.UtilityNetworks
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class UtilityTraceFunction
Remarks
Functions are evaluated at each applicable network element. The meaning of applicable varies depending on the Tracer. For an upstream trace, the functions are evaluated for each upstream element. For a downstream trace, the functions are evaluated for each element in the subnetwork. etc.
Constructors
| Name | Description |
|---|---|
| UtilityTraceFunction(UtilityTraceFunctionType, UtilityNetworkAttribute) | Initializes a new instance of the UtilityTraceFunction class to compute a value from a network attribute. |
| UtilityTraceFunction(UtilityTraceFunctionType, UtilityNetworkAttribute, UtilityTraceCondition) | Initializes a new instance of the UtilityTraceFunction class to compute a value from a network attribute. |
Properties
| Name | Description |
|---|---|
| Condition | Gets or sets a UtilityTraceCondition to use to restrict the functional calculation to features that satisfy the condition. |
| FunctionType | Gets the calculation to perform. |
| NetworkAttribute | Gets the UtilityNetworkAttribute to use with the calculation. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.7 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.7 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.7 - 100.15 |
| Xamarin.iOS | 100.7 - 100.15 |
| UWP | 100.7 - 100.15 |