Return Statement Activity for XAML files

In order to make things more comprehensible, I propose a new activity that allows for a xaml file to exit out of itself in the middle, much like a return statement in a function. Not only would this be helpful in testing, where there are portions that must be tested without continuing on to other tasks that have already been placed in the xaml file below the portion that requires attention, but it would also be helpful in order to make files more readable.

I currently have a case where I want to send out an email if I have processed at least one transaction. Instead of wrapping that entire section in an if statement, it would be nice to create an if statement that could return out of the xaml file so that the rest of the code could be unwrapped below since we can be sure that it will only continue if it is the case that it should.

It’s the difference between:

If TransactionNumber > 1 Then
    Get email information
    Create email message
    Send email
End If

Versus:

If TransactionNumber = 1 Then
    Return out of current xaml file
End If

Get email information
Create email message
Send email