public void PostProcess(string name, ref Block[] blocks) { // populate text block AsyncUtils.WaitForSubmission(); // just in case TextBlock tb = blocks[0].Specialise <TextBlock>(); tb.TextBlockId = textBlockContents[name][0]; tb.Text = textBlockContents[name][1]; textBlockContents.Remove(name); }
public void PostProcess(string name, ref Block[] blocks) { // populate console block AsyncUtils.WaitForSubmission(); // just in case ConsoleBlock cb = blocks[0].Specialise <ConsoleBlock>(); cb.Command = "ChangeTextBlockCommand"; cb.Arg1 = "TextBlockID"; cb.Arg2 = commandBlockContents[name]; cb.Arg3 = ""; commandBlockContents.Remove(name); }