ESRI.ArcGIS.Mobile.Client
ProjectExtension Class
Members  See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace : ProjectExtension Class

Base class for building project extensions.

Syntax

Visual Basic (Declaration) 
Public MustInherit Class ProjectExtension 
   Inherits Extension
   Implements IDynamicXmlSerializableIJsonSerializer 
C# 
public abstract class ProjectExtension : Extension, IDynamicXmlSerializableIJsonSerializer  

Remarks

ProjectExtension is the base class for buidling project extensions within application framework. By inheriting ProjectExtension, you can modify properties or behavior of existing tasks to fit your field workflow, or create new workflow to embed your business logic.

A common question for building project extensions is "how do I plug in to the mobile application"? Well, Project class provides three methods that will be called one after the other - Initialize, OnOwnerInitialized, and Uninitialize. You can override these methods to plug in your implementation to the application. The Initialize method will be called when the Project is initializing. At this point you are guaranteed that all other Tasks and ProjectExtensions have been instantiated. OnOwnerInitialized method is called by the Project when it is initialized, and all other Tasks and ProjectExtensions will have been initialized at this point. The Uninitialize method is called by the Project before the Project is closed, giving you the opportunity to cleanup things such as detaching events from application level objects.

Note that, to use a ProjectExtension, you will need to prepare an ame file that describes your ProjectExtension. There are also different optioins for you to deploy your assembly and the ame file. For more details please refer to developer help.

Inheritance Hierarchy

Requirements

Namespace: ESRI.ArcGIS.Mobile.Client

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

Assembly: ESRI.ArcGIS.Mobile.Client (in ESRI.ArcGIS.Mobile.Client.dll)

See Also