Click or drag to resize

ExtensionBase Class

Serves as a base class for type-specfic extensions. In general, you should use the specfic classes that derive from this class (ApplicationExtensionBase, for example) and not derive from this class directly.
Inheritance Hierarchy

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public abstract class ExtensionBase : IExtension

The ExtensionBase type exposes the following members.

Constructors
  NameDescription
Public methodExtensionBase
Constructs a new instance of this object.
Top
Properties
  NameDescription
Protected propertyIsPlatform
Gets whether or not the extension is a platform extension vs. a custom extension.
Public propertyOwner
Gets/Sets the owner of this object
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 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 methodGetOwnerName
Gets a descriptive name for the provided object (which is presumably the extension owner object).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleEvent
Method overridden in dervied classes that handles type specfic events.
Public methodInfo
Return requested information about the extension.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnEvent
IExtension.OnEvent handler. Note that generally speaking, you will want to override the individual methods specific to the event and not implement the interface directly.
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
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