##// 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:

r177:a0ff6a0e9c44 ref20160224
r203:4d9830a9bbb8 v2
Show More
ByteAlphabet.cs
23 lines | 542 B | text/x-csharp | CSharpLexer
using System.Collections.Generic;
using System.Linq;
using Implab.Automaton;
namespace Implab.Formats {
public class ByteAlphabet : IndexedAlphabetBase<byte> {
#region implemented abstract members of IndexedAlphabetBase
public override int GetSymbolIndex(byte symbol) {
return (int)symbol;
}
public IEnumerable<byte> InputSymbols {
get {
return Enumerable.Range(byte.MinValue, byte.MaxValue).Cast<byte>();
}
}
#endregion
}
}