Ejemplo n.º 1
0
 public static RunningStatechart <TContext> Interpret <TContext>(ExecutableStatechart <TContext> statechart, CancellationToken cancellationToken, InterpreterOptions options = null) // options e.g. Logger
     where TContext : IContext <TContext> =>
 new RunningStatechart <TContext>(statechart, cancellationToken, options ?? new InterpreterOptions());
Ejemplo n.º 2
0
 public static RunningStatechart <TContext> Interpret <TContext>(ExecutableStatechart <TContext> statechart, InterpreterOptions options = null) // options e.g. Logger
     where TContext : IContext <TContext> =>
 Interpret(statechart, CancellationToken.None, options);