123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
-
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Wayne.Lib.StateEngine
- {
-
-
-
- public enum LogType
- {
-
-
-
- Enter,
-
-
-
- Exit,
-
-
-
- HandleEvent,
-
-
-
- Error,
-
-
-
- Debug,
-
-
-
- UnhandledTransition,
- }
-
-
-
-
-
- public sealed class LogEventArgs : EventArgs
- {
- #region Fields
- LogType logType;
- string logText;
- #endregion
- #region Construction
-
-
-
-
-
- internal LogEventArgs(LogType logType, string logText)
- {
- this.logText = logText;
- this.logType = logType;
- }
- #endregion
- #region Properties
-
-
-
- public string LogText
- {
- get { return logText; }
- }
-
-
-
- public LogType LogType
- {
- get { return logType; }
- }
- #endregion
- }
- }
|