C# Класс OperationsDashboardAddIns.SearchNearbyFeatureAction

Наследование: IFeatureAction
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CanExecute() публичный Метод

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
Результат bool

Configure() публичный Метод

public Configure ( System owner ) : bool
owner System
Результат bool

Execute() публичный Метод

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
Результат void

QueryForFeatures() публичный Метод

public QueryForFeatures ( ESRI.ArcGIS.Client bufferPolygon ) : Task
bufferPolygon ESRI.ArcGIS.Client
Результат Task

SearchNearbyFeatureAction() публичный Метод

public SearchNearbyFeatureAction ( ) : System
Результат System

SearchNearbyFeatureAction() публичный Метод

public SearchNearbyFeatureAction ( string targetDataSourceId, int bufferDistance, ESRI.ArcGIS.Client bufferUnit ) : System
targetDataSourceId string
bufferDistance int
bufferUnit ESRI.ArcGIS.Client
Результат System