Highway Framework  Release 1.0.1.0
The fastest and smoothest way to great architecture
 All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Properties
Highway.Data.Interfaces.IInterceptor< in T > Interface Template Reference

The standard interface for intercept More...

Inheritance diagram for Highway.Data.Interfaces.IInterceptor< in T >:
Highway.Data.Interceptors.AuditableInterceptor

List of all members.

Public Member Functions

InterceptorResult Execute (IDataContext context, T eventArgs)
 Executes the interceptor handle an event based on the event arguments

Properties

int Priority [get, set]
 The priority order that this interceptor has for ordered execution by the event manager

Detailed Description

The standard interface for intercept

Template Parameters:
T
Type Constraints
T :System.EventArgs 

Member Function Documentation

template<in T>
InterceptorResult Highway.Data.Interfaces.IInterceptor< in T >.Execute ( IDataContext  context,
eventArgs 
)

Executes the interceptor handle an event based on the event arguments

Parameters:
contextThe data context that raised the event
eventArgsThe event arguments that were passed from the context
Returns:
An Interceptor Result

Property Documentation

template<in T>
int Highway.Data.Interfaces.IInterceptor< in T >.Priority
getset

The priority order that this interceptor has for ordered execution by the event manager

Implemented in Highway.Data.Interceptors.AuditableInterceptor.


The documentation for this interface was generated from the following file: