Click or drag to resize

MapperExtensionBase Class

Abstract base class for mapper extensions. This class is provided primarily for internal use and custom application extensions should not normally derive from this class, but rather from MapperExtensionKernel for untyped extensions or TypedMapperExtensionT for typed extensions. As with all extensions and extension base classes, the class implements the IExtension interface and response to ExtensionEvents.
Inheritance Hierarchy

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public abstract class MapperExtensionBase : IExtension

The MapperExtensionBase type exposes the following members.

Constructors
  NameDescription
Protected methodMapperExtensionBase
Constructs a new instance of this object.
Top
Properties
  NameDescription
Public propertyApplication
Returns the application object (from IMapper.Application)
Public propertyDatabase
Returns the main database object (from IMapper.Database)
Protected propertyIsPlatform
Gets whether or not the extension is a platform extension vs. a custom extension.
Public propertyMapper
Returns the Mapper object that this extension is attached to.
Protected propertyMapperCommandsHandled
Gets the semi-colon separated list of MapperCommands handled by this extension.
Public propertyParentKeyValue
Gets the request's parent record's row key value under most circumstances including: datasheets, subforms, popup new forms, and datasheet drilldowns.
Public propertyProperties
Returns this instance's properties.
Public propertyCode exampleTextItems
Returns a collection of TextItems loaded from metadata related to this component.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExtensionCommand
Handle extension commands.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetText
Get the specified localized text for this mapper. Obtaining the text is a four step process: 1) Look for the text item in the mapper's TextItems collection, 2) if not found, look for the item in the extension's TextItems collection, 3) if not found, look for the item in the locale resource file, 4) if not found, use the provided defaultText.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleEvent
Handler for all events.
Public methodInfo
Return requested information about the extension.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnEvent
This method is called to fire an event. The extension responds to this event.
Protected methodOnSetOwner
Called when the Owner of this extension is set by the extension loader.
Public methodOnUnload
Notifies the extension that it should perform any cleanup necessary just prior to being unloaded.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_logRowCurrent
Specifies whether or not log RowCurrent events to the devlog. Such logging also depends on NoDebug.
Protected field_mapper
The attached mapper object to derived classes
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also