Highway Framework  Release 1.0.1.0
The fastest and smoothest way to great architecture
 All Classes Namespaces Functions Variables Properties Events
Static Public Member Functions | Properties
Highway.Data.Interceptors.InterceptorResult Struct Reference

Results from any interceptor operation that gives a flag to tell the event manager to proceed to the next priority in line or not. More...

List of all members.

Static Public Member Functions

static InterceptorResult Succeeded ()
 Creates a successful result that continues execution
static InterceptorResult Failed (string message, bool continueToExecute=false)
 Creates a failure result that gives the event manager a message to log, and specifies to proceed to the next priority in line or not. The Default is False

Properties

bool ContinueExecution [get, set]
 A boolean flag for the event manager to decide if it will continue to process or error
string Message [get, set]
 Error message populated in the case of failure

Detailed Description

Results from any interceptor operation that gives a flag to tell the event manager to proceed to the next priority in line or not.


Member Function Documentation

static InterceptorResult Highway.Data.Interceptors.InterceptorResult.Failed ( string  message,
bool  continueToExecute = false 
)
inlinestatic

Creates a failure result that gives the event manager a message to log, and specifies to proceed to the next priority in line or not. The Default is False

Parameters:
messageError message from the interceptor
continueToExecuteDoes execution of the interceptors continue ( Default is False )
Returns:
An Interceptor Result
static InterceptorResult Highway.Data.Interceptors.InterceptorResult.Succeeded ( )
inlinestatic

Creates a successful result that continues execution

Returns:
An Interceptor Result

Property Documentation

bool Highway.Data.Interceptors.InterceptorResult.ContinueExecution
getset

A boolean flag for the event manager to decide if it will continue to process or error

string Highway.Data.Interceptors.InterceptorResult.Message
getset

Error message populated in the case of failure


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