smartinspectpython.siwatcheventargs

Module: siwatcheventargs.py

Revision History

Date Version Description
2023/05/30 3.0.0.0 Initial Version.

@export
class SIWatchEventArgs:

This class is used by the SmartInspect.WatchEvent event.

Threadsafety:

This class is fully thread-safe.

SIWatchEventArgs(watch: smartinspectpython.siwatch.SIWatch)

Initializes a new instance of the class.

Arguments:
  • watch (SIWatch): The Watch item that was processed.

Returns the Watch item that was processed.

@export
class SIWatchEventHandler:

This is the event handler type for the SmartInspect.WatchEvent event.

SIWatchEventHandler( sender: object, e: smartinspectpython.siwatcheventargs.SIWatchEventArgs)

Initializes a new instance of the class.

Arguments:
  • sender (object): The object which fired the event.
  • e (SIWatchEventArgs): Arguments that contain detailed information related to the event.