C# Class SubsetNetworkEvaluatorsUI.SubsetHelperUI

The SubsetHelperUI is a utility class to aid in determining the relevant set of parameters to auto-update when set to listen to the events and other shared utilities.
ファイルを表示 Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
ClearEIDArrayParameterValues ( INetworkAnalystExtension nax, string baseName ) : void
FindParameterizedSourceNames ( INetworkDataset nds, string baseName, VarType vt ) : List
GetEIDArrayParameterType ( ) : VarType
GetFullExceptionMessage ( Exception ex ) : string
GetNAXConfiguration ( IApplication app ) : IExtensionConfig
GetOIDArraysBySourceNameFromMapSelection ( IMap map, List sourceNames ) : ILongArray>.Dictionary
GetSearchGeometryFromGraphics ( IGraphicsContainer graphics ) : IGeometry
ParameterExists ( INetworkDataset nds, string searchName, VarType vt ) : bool
PushParameterValuesToNetwork ( INetworkAnalystExtension nax ) : void
UpdateEIDArrayParameterValuesFromEIDLists ( INetworkAnalystExtension nax, Dictionary eidsBySourceName, string baseName ) : void
UpdateEIDArrayParameterValuesFromGeometry ( INetworkAnalystExtension nax, IGeometry searchGeometry, string baseName ) : void
UpdateEIDArrayParameterValuesFromOIDArrays ( INetworkAnalystExtension nax, ILongArray>.Dictionary oidArraysBySourceName, string baseName ) : void

Private Methods

Method Description
ClearEIDArrayParameterValues ( INetworkAnalystExtension nax, List sourceNames, string baseName ) : void
GetEIDArrayPrefixFromBaseName ( string baseName ) : string
GetEIDListsBySourceName ( INetworkAnalystExtension nax, object searchObject, string baseName ) : List>.Dictionary
GetSourceNameFromParameterName ( string prefix, string paramName ) : string
GetSourceParameterName ( string prefix, string sourceName ) : string

Method Details

ClearEIDArrayParameterValues() public static method

public static ClearEIDArrayParameterValues ( INetworkAnalystExtension nax, string baseName ) : void
nax INetworkAnalystExtension
baseName string
return void

FindParameterizedSourceNames() public static method

public static FindParameterizedSourceNames ( INetworkDataset nds, string baseName, VarType vt ) : List
nds INetworkDataset
baseName string
vt VarType
return List

GetEIDArrayParameterType() public static method

public static GetEIDArrayParameterType ( ) : VarType
return VarType

GetFullExceptionMessage() public static method

public static GetFullExceptionMessage ( Exception ex ) : string
ex System.Exception
return string

GetNAXConfiguration() public static method

public static GetNAXConfiguration ( IApplication app ) : IExtensionConfig
app IApplication
return IExtensionConfig

GetOIDArraysBySourceNameFromMapSelection() public static method

public static GetOIDArraysBySourceNameFromMapSelection ( IMap map, List sourceNames ) : ILongArray>.Dictionary
map IMap
sourceNames List
return ILongArray>.Dictionary

GetSearchGeometryFromGraphics() public static method

public static GetSearchGeometryFromGraphics ( IGraphicsContainer graphics ) : IGeometry
graphics IGraphicsContainer
return IGeometry

ParameterExists() public static method

public static ParameterExists ( INetworkDataset nds, string searchName, VarType vt ) : bool
nds INetworkDataset
searchName string
vt VarType
return bool

PushParameterValuesToNetwork() public static method

public static PushParameterValuesToNetwork ( INetworkAnalystExtension nax ) : void
nax INetworkAnalystExtension
return void

UpdateEIDArrayParameterValuesFromEIDLists() public static method

public static UpdateEIDArrayParameterValuesFromEIDLists ( INetworkAnalystExtension nax, Dictionary eidsBySourceName, string baseName ) : void
nax INetworkAnalystExtension
eidsBySourceName Dictionary
baseName string
return void

UpdateEIDArrayParameterValuesFromGeometry() public static method

public static UpdateEIDArrayParameterValuesFromGeometry ( INetworkAnalystExtension nax, IGeometry searchGeometry, string baseName ) : void
nax INetworkAnalystExtension
searchGeometry IGeometry
baseName string
return void

UpdateEIDArrayParameterValuesFromOIDArrays() public static method

public static UpdateEIDArrayParameterValuesFromOIDArrays ( INetworkAnalystExtension nax, ILongArray>.Dictionary oidArraysBySourceName, string baseName ) : void
nax INetworkAnalystExtension
oidArraysBySourceName ILongArray>.Dictionary
baseName string
return void