C# Class OperationsDashboardAddIns.SearchNearbyFeatureAction

Inheritance: IFeatureAction
Afficher le fichier Open project: Esri/tableandsearch-opsdashboard-addin

Méthodes publiques

Méthode Description
CanExecute ( ESRI BufferDS, ESRI.ArcGIS.Client BufferFeature ) : bool

This function determines if the feature action will be enabled or disabled In order for the FeatureAction to execute: - The map widget that contains the dataSource from which the buffer area is generated must not be null - The Target DataSource that will be queried must not be null - The radius (Distance) of the buffer area must be >0

Configure ( System owner ) : bool
Execute ( ESRI BufferDS, ESRI.ArcGIS.Client BufferFeature ) : void

This function creates the buffer area from user's selected feature

QueryForFeatures ( ESRI.ArcGIS.Client bufferPolygon ) : Task
SearchNearbyFeatureAction ( ) : System
SearchNearbyFeatureAction ( string targetDataSourceId, int bufferDistance, ESRI.ArcGIS.Client bufferUnit ) : System

Private Methods

Méthode Description
CreateBufferParameters ( ESRI.ArcGIS.Client feature, ESRI.ArcGIS.Client mwMap ) : ESRI.ArcGIS.Client.Tasks.BufferParameters
GeometryServiceFailed ( object sender, ESRI.ArcGIS.Client e ) : void
GeometryTask_BufferCompleted ( object sender, ESRI.ArcGIS.Client e ) : void

Method Details

CanExecute() public méthode

This function determines if the feature action will be enabled or disabled In order for the FeatureAction to execute: - The map widget that contains the dataSource from which the buffer area is generated must not be null - The Target DataSource that will be queried must not be null - The radius (Distance) of the buffer area must be >0
public CanExecute ( ESRI BufferDS, ESRI.ArcGIS.Client BufferFeature ) : bool
BufferDS ESRI BufferDS is the data source containing the BufferFeature
BufferFeature ESRI.ArcGIS.Client BufferFeature is the feature used to generate the buffer area
Résultat bool

Configure() public méthode

public Configure ( System owner ) : bool
owner System
Résultat bool

Execute() public méthode

This function creates the buffer area from user's selected feature
public Execute ( ESRI BufferDS, ESRI.ArcGIS.Client BufferFeature ) : void
BufferDS ESRI BufferDS is the data source containing the BufferFeature
BufferFeature ESRI.ArcGIS.Client BufferFeature is the feature used to generate the buffer area
Résultat void

QueryForFeatures() public méthode

public QueryForFeatures ( ESRI.ArcGIS.Client bufferPolygon ) : Task
bufferPolygon ESRI.ArcGIS.Client
Résultat Task

SearchNearbyFeatureAction() public méthode

public SearchNearbyFeatureAction ( ) : System
Résultat System

SearchNearbyFeatureAction() public méthode

public SearchNearbyFeatureAction ( string targetDataSourceId, int bufferDistance, ESRI.ArcGIS.Client bufferUnit ) : System
targetDataSourceId string
bufferDistance int
bufferUnit ESRI.ArcGIS.Client
Résultat System