12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
-
- using System;
- 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
- }
- }
|