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