smartinspectpython.sioptionfoundeventargs
Module: sioptionfoundeventargs.py
Revision History
Date | Version | Description |
---|---|---|
2023/05/30 | 3.0.0.0 | Initial Version. |
@export
class
SIOptionFoundEventArgs:
This class is used by the SIOptionsParser class to inform interested parties that a protocol option has been found.
Threadsafety:
This class is fully thread-safe.
SIOptionFoundEventArgs(protocol: str, key: str, value: str)
Initializes a new instance of the class.
Arguments:
- protocol (str): The protocol name of the new option.
- key (str): The key of the new option.
- value (str): The value of the new option.
Protocol: str
This read-only property returns the protocol name of the option which has just been found by a SIOptionsParser object.
@export
class
SIOptionFoundEventHandler:
This is the callback type for the SIOptionsParser.Parse method.
SIOptionFoundEventHandler( sender: object, e: smartinspectpython.sioptionfoundeventargs.SIOptionFoundEventArgs)
Initializes a new instance of the class.
Arguments:
- sender (object): The object which fired the event.
- e (SIOptionFoundEventArgs): Arguments that contain detailed information related to the event.