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. |
| System.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 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.7 - 200.8 |
| Xamarin.Android | 100.7 - 100.15 |
| Xamarin.iOS | 100.7 - 100.15 |
| UWP | 100.7 - 200.8 |
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. |
| System.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 type of the numeric value is dependent on the UtilityNetworkAttributeDataType of the UtilityNetworkAttribute.
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 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.7 - 200.8 |
| Xamarin.Android | 100.7 - 100.15 |
| Xamarin.iOS | 100.7 - 100.15 |
| UWP | 100.7 - 200.8 |