PsTypeEventListenerT Class

typed listener some of the types are shared across dataclasses f.e. VMBOX, DN, REGISTRATION class is delivering DN object so by type - requires check of the DataClass. data class can be null. In this case = data class will not be verified DataClass==null any DataClass with specific object type., filter==null - any DataClass object of any type. all object which don't have the specified type will be delivered as null. DataClass==null, filter!=null - any DataClass object of specified type excluding nulls DataClass==<specific>, filter==null - specific DataClass object of specified type including other types DataClass==<specific>, filter!=null - specific DataClass object of specified type excluding null Example: To monitor Extension objects with dataclass "DN" (modification of class you can specify Extension as the object and set filtee to null.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public class PsTypeEventListener<T> : PsArgsEventListener
where T : class
Inheritance
Object    PsArgsEventListener    PsTypeEventListenerT

Type Parameters

T

Constructors

PsTypeEventListenerT throws the exaception InvalidCastException in case if DataClass Should be explicitly specified for the type of object
PsTypeEventListenerT(String) Creates Listener for exact data class which will be monitored for the specific object.

Methods

Dispose remove event subscription. Should be called explicitly. Also should be called by the classes inherited
(Inherited from PsArgsEventListener)
SetTypeHandler Sets Actions on the filtered objects, filter and Wait handler.
Wait
(Inherited from PsArgsEventListener)

Events

Deleted Object is deleted. Events are delivered even if corresponding callback is set to null.
Inserted Object is inserted. Events are delivered even if corresponding callbask is set to null.
Updated Object is updated. Events are delivered even if corresponding callbask is set to null.

See Also