PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​TransactionsITransaction­Policy­Selector
Open sandboxFocus

ITransactionPolicySelector Interface

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, Boolean)

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

GetTransactionRequirement(in TransactionProperties, Boolean)

Determines whether an activity should result in opening a transaction.