Constructor UtilityTraceFunction
UtilityTraceFunction(UtilityTraceFunctionType, UtilityNetworkAttribute)
Initializes a new instance of the UtilityTraceFunction class to compute a value from a network attribute.
Declaration
public UtilityTraceFunction(UtilityTraceFunctionType functionType, UtilityNetworkAttribute networkAttribute)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityTraceFunctionType | functionType | The calculation to perform. |
| UtilityNetworkAttribute | networkAttribute | The UtilityNetworkAttribute to use with the calculation. |
Applies to
Platforms and versions
| 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 |
UtilityTraceFunction(UtilityTraceFunctionType, UtilityNetworkAttribute, UtilityTraceCondition)
Initializes a new instance of the UtilityTraceFunction class to compute a value from a network attribute.
Declaration
public UtilityTraceFunction(UtilityTraceFunctionType functionType, UtilityNetworkAttribute networkAttribute, UtilityTraceCondition condition)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityTraceFunctionType | functionType | The calculation to perform. |
| UtilityNetworkAttribute | networkAttribute | The UtilityNetworkAttribute to use with the calculation. |
| UtilityTraceCondition | condition | A UtilityTraceCondition to use to restrict the functional calculation to features that satisfy the condition. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.10 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.10 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.10 - 100.12 |
| Xamarin.Android | 100.10 - 100.15 |
| Xamarin.iOS | 100.10 - 100.15 |
| UWP | 100.10 - 100.15 |