smartinspectpython.sioptionfoundeventargs
@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: 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.