The ESRI.ArcGIS.ADF assembly contains a number of .NET utility classes that facilitate .NET development by taking advantage of a few .NET capabilities including object inheritance and static functions. This assembly is available with ArcGIS Engine, ArcGIS Desktop and ArcGIS Server and contains classes previously packaged in a Utility assembly. Utility capabilities have been enhanced with new classes where appropriate. Compiler warnings in Visual Studio will indicate the new classes to use.
Namespaces
Namespace | Description |
ESRI.ArcGIS.ADF | This namespace contains a number of helper classes including functions for COM object management, and for converting ESRI types into .NET Color classes. |
ESRI.ArcGIS.ADF.BaseClasses | The BaseCommand and BaseTool base classes simplify the creation of custom commands and tools by providing a default implementation for each of the members of ICommand and ITool. The ESRI.ArcGIS.Utility.BaseClasses (deprecated at 9.2) classes contained just the BaseCommand and the BaseTool base classes. With the ESRI.ArcGIS.ADF.BaseClasses namespace, additional classes include the BaseCommandBar, BaseCustomGlobeLayer, BaseCustomLayer, BaseDynamicLayer, BaseMenu, and BaseToolbar. Using these base classes is the recommended way to create commands and tools for ArcGIS applications in .NET languages. You can create similar classes from first principles; however, you should find the base class technique to be a quicker, simpler, less error-prone method. Instead of stubbing out each member and providing implementation code, you only have to override the members that your custom command or tool requires. The exception is ICommand.OnCreate; this member must be overridden in your derived class. |
ESRI.ArcGIS.ADF.CATIDs | Using the CATIDs classes, in conjunction with function attributes provided by the .NET framework, you can automatically register your interop classes to ESRI component categories. You can easily add component category registration functions to your existing classes by using the ArcGIS Component Category Registrar dialog box which is part of the ArcGIS Visual Studio .NET IDE Integration Framework; the CATIDs classes are used by the integration framework to identify component category IDs. |
ESRI.ArcGIS.ADF.COMSupport | The ESRI.ArcGIS.ADF.COMSupport namespace provides a number of utility classes for converting types and for shutting down ArcObjects .NET applications. |
ESRI.ArcGIS.ADF.Resources | The ESRI.ArcGIS.ADF.Resources namespace contains a single class, ResourceUtility, used to retrieve resources. Resources are usually maintained in one or more files and contain of property-value pairs often used to define text content within an application. They are frequently used to localize text content within an application for a specific language or region. |