C# Class RSSWeatherLayer.AddRSSWeatherLayer

Inheritance: BaseCommand
显示文件 Open project: Esri/arcobjects-sdk-community-samples

Public Methods

Method Description
AddRSSWeatherLayer ( ) : System
OnClick ( ) : void

Occurs when this command is clicked

OnCreate ( object hook ) : void

Occurs when this command is created

Private Methods

Method Description
ArcGISCategoryRegistration ( Type registerType ) : void

Required method for ArcGIS Component Category registration - Do not modify the contents of this method with the code editor.

ArcGISCategoryUnregistration ( Type registerType ) : void

Required method for ArcGIS Component Category unregistration - Do not modify the contents of this method with the code editor.

OnItemDeleted ( object Item ) : void

Listen to ActiveViewEvents.ItemDeleted in order to track whether the layer has been removed from the TOC

OnWeatherItemAdded ( object sender, WeatherItemEventArgs args ) : void

weather layer ItemAdded event handler

gets fired when an item is added to the table

OnWeatherItemsUpdated ( object sender, EventArgs args ) : void

Weather layer ItemsUpdated event handler

gets fired when the update thread finish updating all the items in the table

RegisterFunction ( Type registerType ) : void
UnregisterFunction ( Type registerType ) : void

Method Details

AddRSSWeatherLayer() public method

public AddRSSWeatherLayer ( ) : System
return System

OnClick() public method

Occurs when this command is clicked
public OnClick ( ) : void
return void

OnCreate() public method

Occurs when this command is created
public OnCreate ( object hook ) : void
hook object Instance of the application
return void