12345678910111213141516171819202122232425262728293031323334 |
- #region --------------- Copyright Dresser Wayne Pignone -------------
- /*
- * $Log: /Wrk/WayneLibraries/Wrk/StateEngine/Description/AsyncDoneDescription.cs $
- *
- * 1 08-02-26 14:12 Mattias.larsson
- * Created.
- */
- #endregion
- using System;
- using Wayne.Lib.StateEngine.Generic;
- namespace Wayne.Lib.StateEngine.Description
- {
- /// <summary>
- /// Describe the AsyncDone / transition relationship for a state class of the generic AsyncWorkState.
- /// </summary>
- [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
- public class AsyncDoneDescription : EventDescriptionAttribute
- {
- #region Construction
- /// <summary>
- /// Describe the AsyncDone-event / transition relationship for a state class.
- /// </summary>
- /// <param name="conditionText">A descriptive text for the condition.</param>
- /// <param name="transitionType">Transition that is performed.</param>
- public AsyncDoneDescription(string conditionText, object transitionType)
- : base(GenericEventType.AsyncDone, conditionText, transitionType)
- {
- }
- #endregion
- }
- }
|