src/Azos.Wave/MVC/Controller.cs
/// <summary>
/// Override to add logic/filtering finally after the invocation of action method
/// </summary>
Override to add logic/filtering finally after the invocation of action method
Override to add logic / filtering finally after the invocation of action method
protected internal virtual void ActionInvocationFinally(WorkContext work, string action, MethodInfo method, object[] args, object result)
      {
         var filters = GetActionFilters(method);
         if (filters!=null)
           for(var i=filters.Length-1; i>=0; i--)
             filters[i].ActionInvocationFinally(this, work, action, method, args, ref result);
         filters = GetActionFilters(GetType());
         if (filters!=null)
           for(var i=filters.Length-1; i>=0; i--)
             filters[i].ActionInvocationFinally(this, work, action, method, args, ref result);
      }
protected internal virtual void ActionInvocationFinally ( WorkContext work , string action , MethodInfo method , object [ ] args , object result ) { var filters = GetActionFilters ( method ) ; if ( filters != null ) for ( var i = filters . Length - 1 ; i >= 0 ; i -- ) filters [ i ] . ActionInvocationFinally ( this , work , action , method , args , ref result ) ; filters = GetActionFilters ( GetType ( ) ) ; if ( filters != null ) for ( var i = filters . Length - 1 ; i >= 0 ; i -- ) filters [ i ] . ActionInvocationFinally ( this , work , action , method , args , ref result ) ; }
Override to add logic/filtering finally after the invocation of action method
Override to add logic / filtering finally after the invocation of action method
//1 Method Level //2 Class Level
work
WorkContext
action
string
method
MethodInfo
args
object[]
result
object