Open sandboxFocus

Interface ITransactionPolicySelector

Selects an ITransactionPolicy given input TransactionProperties.

Namespace: PostSharp.Patterns.Diagnostics.Transactions
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public interface ITransactionPolicySelector

Methods

Name Description
GetPolicy(in TransactionProperties, bool)

Gets the policy that determines whether an activity should be a logged transaction, and other details about the transaction.

GetTransactionRequirement(in TransactionProperties, bool)

Determines whether an activity should result in opening a transaction.