C# Class Cedar.Framework.AuditTrail.Interception.AuditTrailCallHandler

Inheritance: ICallHandler
Show file Open project: Chinaccn/surfboard

Public Methods

Method Description
AuditTrailCallHandler ( string functionName ) : System

Create a new AuditTrailCallHandler

AuditTrailCallHandler ( string functionName, int order ) : System

Create a new AuditTrailCallHandler

Invoke ( IMethodInvocation input, GetNextHandlerDelegate getNext ) : IMethodReturn

Invoking the Audit Trail related operation.

Private Methods

Method Description
Log ( IMethodInvocation input, IMethodReturn methodReturn ) : void

Method Details

AuditTrailCallHandler() public method

Create a new AuditTrailCallHandler
public AuditTrailCallHandler ( string functionName ) : System
functionName string The name of the function to audit.
return System

AuditTrailCallHandler() public method

Create a new AuditTrailCallHandler
public AuditTrailCallHandler ( string functionName, int order ) : System
functionName string The name of the function to audit.
order int The order in which the handler will be executed.
return System

Invoke() public method

Invoking the Audit Trail related operation.
public Invoke ( IMethodInvocation input, GetNextHandlerDelegate getNext ) : IMethodReturn
input IMethodInvocation Method Invocation Message.
getNext GetNextHandlerDelegate /// A GetNextHandlerDelegate object delegating the invocation to the next CallHandler or Target /// instance. ///
return IMethodReturn