Beispiel #1
0
        public void Test2()
        {
            NoticeChecker <ModifyRemarkRequest> nc = new NoticeChecker <ModifyRemarkRequest>(ModifyRemark, 5, 1000, 5000);

            nc.Notice(new ModifyRemarkRequest()
            {
                WechatFriendId = item.WechatFriendId, Remark = mark
            });
        }
Beispiel #2
0
        public void Test1()
        {
            NoticeChecker <string> nc = new NoticeChecker <string>((invokeCount, str) =>
            {
                _Log.DebugFormat("{0}-{1}.", invokeCount, str);
                return(false);
            }, 5, 5000, 2000);

            nc.Notice("test");
        }