private void EventNotify(string message, Exception exception = null) { if (CtRedisEventNotify != null) { CtRedisEvent redisEvent = new CtRedisEvent { Message = message, Exception = exception }; CtRedisEventNotify(this, redisEvent); } }
public void LogNotify(object sender, CtRedisEvent @event) { Console.WriteLine("aa"); }