public override void Run(Context context)
        {
            var input = context.Input.MapAs<WriteLineInput>();
            var write = string.Format("{0} {1} - {2} ===>", input.Value, Name, input.Index);
            Console.WriteLine("{0} {1}", input.Value, Name);

            context.PushToNext(new WriteLineInput(write, 1));
        }
        public override void Run(Context context)
        {
            var input = context.Input.MapAs <WriteLineInput>();
            var write = string.Format("{0} {1} - {2} ===>", input.Value, Name, input.Index);

            Console.WriteLine("{0} {1}", input.Value, Name);

            context.PushToNext(new WriteLineInput(write, 1));
        }
 public override void Run(Context context)
 {
     var outValue = new WriteLineInput(PhraseSource(context.Input), (int) context.Input);
     context.PushToNext(outValue);
 }
Exemple #4
0
        public override void Run(Context context)
        {
            var outValue = new WriteLineInput(PhraseSource(context.Input), (int)context.Input);

            context.PushToNext(outValue);
        }