Overrule Class

This is base class for implementation of overrules. An overrule can be registered or unregistered, and overrules can be globally activated or deactivated. Overrules are internally managed by pairs of classes named as "target" and "overrule." The "target" is the class to which the overrule applies. Classes can have multiple overrules registered.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.RuntimeOverrule
          More

Namespace: Teigha.Runtime
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public abstract class Overrule : RXObject

The Overrule type exposes the following members.

Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public propertyStatic member Overruling Property that indicates whether overruling mechanism is enabled (true) or disabled (false).
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public methodStatic member AddOverrule Registers an object for a given class to be overruled.
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public methodStatic member HasOverrule Checks whether the specified overrule handles a given object.
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method IsApplicable Checks whether the overrule is applicable. This method needs to be implemented in derived classes.
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Public methodStatic member RemoveOverrule Unregisters an object for the given class.
Public method SetCustomFilter Enables the usage of the IsApplicable method to check whether an overrule is applied. This method needs to be implemented in derived classes.
Public method SetExtensionDictionaryEntryFilter Enables the usage of an extension dictionary lookup for checking whether an overrule is applied. This method needs to be implemented in derived classes.
Public method SetIdFilter Enables the usage of ID lookups for checking whether an overrule is applied. This method needs to be implemented in derived classes.
Public method SetNoFilter Disables the filter methods (SetCustomFilter, SetExtensionDictionaryEntryFilter, SetIdFilter, SetXDataFilter) and the IsApplicable() method for checking whether an overrule is applied. This method needs to be implemented in derived classes.
Public method SetXDataFilter Enables the usage of xdata for checking whether an overrule is applied. This method needs to be implemented in derived classes.
Public method ToString
(Inherited from Object)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.RuntimeOverrule
          Teigha.DatabaseServicesGeometryOverrule
          Teigha.DatabaseServicesGripOverrule
          Teigha.DatabaseServicesHighlightOverrule
          Teigha.DatabaseServicesObjectOverrule
          Teigha.DatabaseServicesOsnapOverrule
          Teigha.DatabaseServicesPropertiesOverrule
          Teigha.DatabaseServicesSubentityOverrule
          Teigha.DatabaseServicesTransformOverrule
          Teigha.GraphicsInterfaceDrawableOverrule

©  Bricsys NV. All rights reserved.