operator - method

ControllerMaid<Box> operator -(
  1. void request(
    1. Box oldBox,
    2. Box newBox
    )
)

C# style operator overloading of cancelRequest.

Implementation

ControllerMaid<Box> operator -(
  void Function(Box oldBox, Box newBox) request,
) {
  cancelRequest(request);
  return this;
}