public virtual void PreProcess(IInvocation invocation, CoreInterceptContext context)
        {
            if (invocation.Method.Name.StartsWith("get_") || "ToString".Equals(invocation.Method.Name))
                return;

            context.ActionListener.ActionPerforming((UIItem)context.UiItem);
        }
        public virtual void PreProcess(IInvocation invocation, CoreInterceptContext context)
        {
            if (invocation.Method.Name.StartsWith("get_") || "ToString".Equals(invocation.Method.Name))
            {
                return;
            }

            context.ActionListener.ActionPerforming((UIItem)context.UiItem);
        }
 public virtual void PostProcess(IInvocation invocation, CoreInterceptContext context)
 {
 }
Beispiel #4
0
 public CoreInterceptor(IUIItem uiItem, ActionListener actionListener)
 {
     coreInterceptContext = new CoreInterceptContext(uiItem, actionListener);
 }
 public virtual void PreProcess(IInvocation invocation, CoreInterceptContext context)
 {
     if (invocation.Method.Name.StartsWith("get_") || "ToString".Equals(invocation.Method.Name))
         return;
     context.UiItem.Focus();
 }
Beispiel #6
0
 public CoreInterceptor(IUIItem uiItem, ActionListener actionListener)
 {
     coreInterceptContext = new CoreInterceptContext(uiItem, actionListener);
 }
Beispiel #7
0
 public virtual void PreProcess(IInvocation invocation, CoreInterceptContext context)
 {
     if (invocation.Method.Name.StartsWith("get_") || "ToString".Equals(invocation.Method.Name))
         return;
     context.UiItem.Focus();
 }
Beispiel #8
0
 public virtual void PostProcess(IInvocation invocation, CoreInterceptContext context) { }