Method Create
Create(UtilityNetworkAttribute, Int32, IEnumerable<UtilityAssetType>)
Creates a filter object to return the next N features from the starting point with nearest asset types.
Declaration
public static UtilityNearestNeighbor Create(UtilityNetworkAttribute costNetworkAttribute, int count, IEnumerable<UtilityAssetType> nearestAssetTypes)
Parameters
Type | Name | Description |
---|---|---|
Utility |
costNetworkAttribute | The Utility |
Int32 | count | The number of nearest features to return. |
IEnumerable<Utility |
nearestAssetTypes | The collection of Utility |
Returns
Type | Description |
---|---|
Utility |
A Utility |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.8 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.8 - 100.12 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 100.14 |
Create(UtilityNetworkAttribute, Int32, IEnumerable<UtilityAssetType>, IEnumerable<UtilityCategory>)
Creates a filter object to return the next N features from the starting point with nearest asset types and nearest categories.
Declaration
public static UtilityNearestNeighbor Create(UtilityNetworkAttribute costNetworkAttribute, int count, IEnumerable<UtilityAssetType> nearestAssetTypes, IEnumerable<UtilityCategory> nearestCategories)
Parameters
Type | Name | Description |
---|---|---|
Utility |
costNetworkAttribute | The Utility |
Int32 | count | The number of nearest features to return. |
IEnumerable<Utility |
nearestAssetTypes | The collection of Utility |
IEnumerable<Utility |
nearestCategories | The collection of Utility |
Returns
Type | Description |
---|---|
Utility |
A Utility |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.8 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.8 - 100.12 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 100.14 |
Create(UtilityNetworkAttribute, Int32, IEnumerable<UtilityCategory>)
Creates a filter object to return the next N features from the starting point with nearest categories.
Declaration
public static UtilityNearestNeighbor Create(UtilityNetworkAttribute costNetworkAttribute, int count, IEnumerable<UtilityCategory> nearestCategories)
Parameters
Type | Name | Description |
---|---|---|
Utility |
costNetworkAttribute | The Utility |
Int32 | count | The number of nearest features to return. |
IEnumerable<Utility |
nearestCategories | The collection of Utility |
Returns
Type | Description |
---|---|
Utility |
A Utility |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.8 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.8 - 100.12 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 100.14 |