public int SetCommonLogUpdateEventCallback(CommonLog.UpdateEventDelegate callback)
        {
            if (null == callback)
            {
                return(0);
            }

            int handlerNum = CallbackManager.AddHandler(delegate(CallbackMessage message)
            {
                Log.Debug("[CommonLogCallback] CommonLogUpdateEventCallback : " + message);

                if (null != callback)
                {
                    callback();
                }
            });

            return(handlerNum);
        }
Beispiel #2
0
        public void SetCommonLogUpdateEventDelegate(CommonLog.UpdateEventDelegate callback)
        {
            int handlerNum = commonLogCallback.SetCommonLogUpdateEventCallback(callback);

            commonLogClass.CallStatic("nmg_commonLog_setCommonLogUpdateEventDelegate", handlerNum);
        }
 public void SetCommonLogUpdateEventDelegate(CommonLog.UpdateEventDelegate callback)
 {
 }
Beispiel #4
0
        public void SetCommonLogUpdateEventDelegate(CommonLog.UpdateEventDelegate callback)
        {
            int handlerNum = commonLogCallback.SetCommonLogUpdateEventCallback(callback);

            nmg_commonLog_setCommonLogUpdateEventDelegate(handlerNum);
        }