PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions Namespace / ITransaction­Policy­Selector Interface

ITransactionPolicySelector Interface

Selects an ITransactionPolicy given input TransactionProperties.

Namespace:  PostSharp.Patterns.Diagnostics.Transactions
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public interface ITransactionPolicySelector

The ITransactionPolicySelector type exposes the following members.

Methods
  NameDescription
Public methodGetPolicy
Gets the policy that determines whether an activity should be a logged transaction, and other details about the transaction.
Public methodGetTransactionRequirement
Determines whether an activity should result in opening a transaction.
See Also