[This is preliminary documentation and is subject to change.]
Override to add logic/filtering right before the invocation of action method.
Return TRUE to indicate that request has already been handled and no need to call method body and AfterActionInvocation in which case
return result via 'out result' paremeter.
The default implementation calls ActionFilters
Namespace: NFX.Wave.MVCAssembly: NFX.Wave (in NFX.Wave.dll) Version: 3.0.0.1 (3.0.0.1)
protected internal virtual bool BeforeActionInvocation(
WorkContext work,
string action,
MethodInfo method,
Object[] args,
ref Object result
)
protected internal virtual bool BeforeActionInvocation(
WorkContext work,
string action,
MethodInfo method,
Object[] args,
ref Object result
)
Protected Friend Overridable Function BeforeActionInvocation (
work As WorkContext,
action As String,
method As MethodInfo,
args As Object(),
ByRef result As Object
) As Boolean
Protected Friend Overridable Function BeforeActionInvocation (
work As WorkContext,
action As String,
method As MethodInfo,
args As Object(),
ByRef result As Object
) As Boolean
protected public:
virtual bool BeforeActionInvocation(
WorkContext^ work,
String^ action,
MethodInfo^ method,
array<Object^>^ args,
Object^% result
)
protected public:
virtual bool BeforeActionInvocation(
WorkContext^ work,
String^ action,
MethodInfo^ method,
array<Object^>^ args,
Object^% result
)
abstract BeforeActionInvocation :
work : WorkContext *
action : string *
method : MethodInfo *
args : Object[] *
result : Object byref -> bool
override BeforeActionInvocation :
work : WorkContext *
action : string *
method : MethodInfo *
args : Object[] *
result : Object byref -> bool
abstract BeforeActionInvocation :
work : WorkContext *
action : string *
method : MethodInfo *
args : Object[] *
result : Object byref -> bool
override BeforeActionInvocation :
work : WorkContext *
action : string *
method : MethodInfo *
args : Object[] *
result : Object byref -> bool
Return Value
Type:
Boolean