Method | Description | |
---|---|---|
Run ( System.Action tryAction, Action |
Runs the specified try action within a try block, and conditionally the catch action within a catch block.
|
|
Run ( Func |
Runs the specified try action within a try block, and conditionally the catch action within a catch block all conditionally within the context of an undo transaction.
|
|
UndoTransactionHelper ( _DTE package, string transactionName ) : System |
Initializes a new instance of the UndoTransactionHelper class.
|
public Run ( System.Action tryAction, Action |
||
tryAction | System.Action | The action to be performed within a try block. |
catchAction | Action |
The action to be performed wihin a catch block. |
return | void |
public Run ( Func |
||
undoConditions | Func |
A set of additional conditions for wrapping in an undo context. |
tryAction | System.Action | The action to be performed within a try block. |
catchAction | Action |
The action to be performed wihin a catch block. |
return | void |
public UndoTransactionHelper ( _DTE package, string transactionName ) : System | ||
package | _DTE | The hosting package. |
transactionName | string | The name of the transaction. |
return | System |