public FailureFactory(
     IFailureHandling handlingOfCaseWhenSensorsAreDown,
     IFailureHandling handlingOfCaseWhenNetworkConnectionFailed
     //etc.
     )
 {
     _handlingOfCaseWhenSensorsAreDown
         = handlingOfCaseWhenSensorsAreDown;
     _handlingOfCaseWhenNetworkConnectionFailed
         = handlingOfCaseWhenNetworkConnectionFailed;
     //etc.
 }
 public Failure(IFailureHandling handling)
 {
     //we're injecting how the failure should be handled
     _handling = handling;
 }