PostSharp6.8//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Transactions.​Model Namespace

PostSharp.Patterns.Diagnostics.Transactions.Model Namespace

This namespace specifies the transaction configuration XML file and the classes and functions available to expressions.
Classes
  ClassDescription
Public classLoggingConfigurationModel
Type of the logging element, the root element of the XML configuration file accepted by the LoggingConfigurationManager class.
Public classPolicyConfigurationModel
Type the source XmL element. The parent of the source element is verbosity (see VerbosityConfigurationModel).
Public classSourceConfigurationModel
Type of the source XML element. The parent of the source element is verbosity (see VerbosityConfigurationModel).
Public classTransactionPolicyExpressionFunctions
Contains extra functions usable from predicates in XML policy configuration files.
Public classVerbosityConfigurationModel
Type of the verbosity XML element. The parent of the verbosity element is logging (see LoggingConfigurationModel) or policy (see PolicyConfigurationModel).
Structures
  StructureDescription
Public structureCloseTransactionExpressionModel<T>
Type of the t parameter for the publishIf expression in the policy configuration file. It represents information from the transaction that a policy can use to take an action when the transaction closes. The policy might decide to publish the log file based on this informatino.
Public structureOpenTransactionExpressionModel<T>
The type of the t parameters in the if and sample attributes of the transaction policy files.