The ArcGIS Maps extensibility framework APIs follow the Dojo coding style outline on the Dojo Toolkit website.
Additionally, the ArcGIS Maps extensibility framework uses the following conventions:
_ClassName—An abstract base class; for example _Adapter. These names are nouns written in UpperCamelCase, preceded by an underscore character. Abstract base classes should never be instantiated.
_NameMixin—A mixin class; for example, _SelectedLayerMixin. These names are nouns written in UpperCamelCase, preceded by an underscore character and always include the term Mixin.
__VirtualClassName—Denotes a class that exists for documentation purposes only; it cannot be instantiated.
A virtual class describes either:
- the type of object that should be passed as a parameter to a method; for example, a keyword argument
- the return value of a method
These names are written in UpperCamelCase and are preceded by a double underscore.