def OnFireWithNamedParams(self, no, a_bool, out1, out2):
    Missing = pythoncom.Missing
    if (no is not Missing):
        assert (no in self.fireds)
        assert ((no + 1) == out1), "expecting 'out1' param to be ID+1"
        assert ((no + 2) == out2), "expecting 'out2' param to be ID+2"
    assert ((a_bool is Missing) or (type(a_bool) == bool)), 'middle param not a bool'
    return ((out1 + 2), (out2 + 2))
def OnFireWithNamedParams(self, no, a_bool, out1, out2):
    Missing = pythoncom.Missing
    if (no is not Missing):
        assert (no in self.fireds)
        assert ((no + 1) == out1), "expecting 'out1' param to be ID+1"
        assert ((no + 2) == out2), "expecting 'out2' param to be ID+2"
    assert ((a_bool is Missing) or (type(a_bool) == bool)), 'middle param not a bool'
    return ((out1 + 2), (out2 + 2))