protected override void BeginProcessing() { if (null != Parameters && 0 < Parameters.Length) { // WriteVerbose( // this, // "converting -Parameters hashtables to dictionaries"); foreach (Dictionary <string, object> dictParameters in Parameters.Select(parameterHashtable => parameterHashtable.ConvertHashtableToDictionary())) { ParametersDictionaries.Add(dictParameters); } } WriteInfo(this, "accepted " + ParametersDictionaries.Count.ToString() + " step parameters"); if (null != Directions && 0 < Directions.Length) { // WriteVerbose( // this, // "converting -Directions hashtables to dictionaries"); foreach (Dictionary <string, object> dictDirections in Directions.Select(directionHashtable => directionHashtable.ConvertHashtableToDictionary())) { DirectionsDictionaries.Add(dictDirections); } } WriteInfo(this, "accepted " + DirectionsDictionaries.Count.ToString() + " step directions"); InvokeWizardCommand command = new InvokeWizardCommand(this); command.Execute(); }
protected override void BeginProcessing() { if (null != Parameters && 0 < Parameters.Length) { // WriteVerbose( // this, // "converting -Parameters hashtables to dictionaries"); foreach (Dictionary<string, object> dictParameters in Parameters.Select(parameterHashtable => parameterHashtable.ConvertHashtableToDictionary())) { ParametersDictionaries.Add(dictParameters); } } WriteInfo(this, "accepted " + ParametersDictionaries.Count.ToString() + " step parameters"); if (null != Directions && 0 < Directions.Length) { // WriteVerbose( // this, // "converting -Directions hashtables to dictionaries"); foreach (Dictionary<string, object> dictDirections in Directions.Select(directionHashtable => directionHashtable.ConvertHashtableToDictionary())) { DirectionsDictionaries.Add(dictDirections); } } WriteInfo(this, "accepted " + DirectionsDictionaries.Count.ToString() + " step directions"); InvokeWizardCommand command = new InvokeWizardCommand(this); command.Execute(); }