##// END OF EJS Templates
Added 'Fail' method to RunnableComponent which allows component to move from...
Added 'Fail' method to RunnableComponent which allows component to move from Running to Failed state. Added PollingComponent a timer based runnable component More tests Added FailPromise a thin class to wrap exceptions Fixed error handling in SuccessPromise classes.

File last commit:

r178:d5c5db0335ee ref20160224
r203:4d9830a9bbb8 v2
Show More
EndTokenT.cs
23 lines | 651 B | text/x-csharp | CSharpLexer
namespace Implab.Automaton.RegularExpressions {
/// <summary>
/// Конечный символ расширенного регулярного выражения, при построении ДКА
/// используется для определения конечных состояний.
/// </summary>
public class EndToken<TTag>: EndToken {
readonly TTag m_tag;
public EndToken(TTag tag) {
m_tag = tag;
}
public EndToken()
: this(default(TTag)) {
}
public TTag Tag {
get { return m_tag; }
}
}
}