Class ViolationService
Constructors
(constructor)(_violations, _eventManager, _productHandler)
Constructs a new instance of the ViolationService class
Declaration
constructor(_violations: Violation[], _eventManager: EventManager, _productHandler: ProductHandler);
Parameters
Properties
dispose
Declaration
Property Value
| Type |
Description |
| () => void |
|
getItemInfo
Declaration
getItemInfo: (item: Item, forceUpdate?: boolean) => ITotalViolationInfo;
Property Value
Methods
addItemViolationStateChanged(listener)
Declaration
addItemViolationStateChanged(listener: (value: IItemViolationStateChangedEventArgs) => void): void;
Parameters
Returns
extend(violations)
Declaration
extend(violations: Violation[]): void;
Parameters
Returns
removeItemViolationStateChanged(listener)
Declaration
removeItemViolationStateChanged(listener: (value: IItemViolationStateChangedEventArgs) => void): void;
Parameters
Returns