Constructor UtilityPropagator
UtilityPropagator(UtilityNetworkAttribute, UtilityPropagatorFunctionType, UtilityAttributeComparisonOperator, Object)
Initializes a new instance of the UtilityPropagator class that allows a subset of UtilityNetworkAttribute values to propagate through a network.
Declaration
public UtilityPropagator(UtilityNetworkAttribute networkAttribute, UtilityPropagatorFunctionType propagatorFunctionType, UtilityAttributeComparisonOperator comparisonOperator, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityNetworkAttribute | networkAttribute | The UtilityNetworkAttribute to propagate further along the trace. |
| UtilityPropagatorFunctionType | propagatorFunctionType | The function type that is applied to the UtilityNetworkAttribute to propagate the attribute further along the trace. |
| UtilityAttributeComparisonOperator | comparisonOperator | The filter operator that is applied when executing the trace. This operator is used to compare the propagated value to the specified Value. |
| Object | value | The value that is compared against the propagated value when executing the trace. The type of this numeric value is dependent on the UtilityNetworkAttributeDataType of the UtilityNetworkAttribute. |
Remarks
The data type of value is dependent on the UtilityNetworkAttributeDataType
of its networkAttribute.
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 |
UtilityPropagator(UtilityNetworkAttribute, UtilityPropagatorFunctionType, UtilityAttributeComparisonOperator, Object, UtilityNetworkAttribute)
Initializes a new instance of the UtilityPropagator class that allows a subset of UtilityNetworkAttribute values to propagate through a network.
Declaration
public UtilityPropagator(UtilityNetworkAttribute networkAttribute, UtilityPropagatorFunctionType propagatorFunctionType, UtilityAttributeComparisonOperator comparisonOperator, object value, UtilityNetworkAttribute substitutionAttribute)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityNetworkAttribute | networkAttribute | The UtilityNetworkAttribute to propagate further along the trace. |
| UtilityPropagatorFunctionType | propagatorFunctionType | The function type that is applied to the UtilityNetworkAttribute to propagate the attribute further along the trace. |
| UtilityAttributeComparisonOperator | comparisonOperator | The filter operator that is applied when executing the trace. This operator is used to compare the propagated value to the specified Value. |
| Object | value | The value that is compared against the propagated value when executing the trace. The type of this numeric value is dependent on the UtilityNetworkAttributeDataType of the UtilityNetworkAttribute. |
| UtilityNetworkAttribute | substitutionAttribute | A UtilityNetworkAttribute that maps each bit in another bitset network attribute value to a new value. |
Remarks
This constructor allows the specification of a substitution network attribute.
The data type of value is dependent on the UtilityNetworkAttributeDataType
of its networkAttribute.
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 |