gov.va.medora.mdws.ConsoleLoggingAroundAdvice.Invoke C# (CSharp) Method

Invoke() public method

public Invoke ( IMethodInvocation invocation ) : object
invocation IMethodInvocation
return object
        public object Invoke(IMethodInvocation invocation)
        {
            LOG.Debug(String.Format(
                "AOP Intercepted call : about to invoke method '{0}'"
                , invocation.Method.Name));
            object returnValue = invocation.Proceed();
            //string retString = new TORenderer(returnValue).ToString();
            //LOG.Debug(String.Format(
            //    "AOP Intercepted call : returned '{0}'", retString));
            return returnValue;
        }
ConsoleLoggingAroundAdvice