public void GetParameters(ScenarioEventType Event) { // enter pointing to a <ParameterSetting> or there are no parameters if (reader.Name != "ParameterSetting") { return; } reader.Read();// points to first <Parameter> while ("Parameter" == reader.Name) { ParameterSettingType nextSetting = GetParameterSetting(); Event.Add(nextSetting); } // and move past the </ParameterSettings> reader.ReadEndElement(); }
public override void Add(ParameterSettingType attr) { parameters.Add(attr); //START BY ADDING A 2 argument method here }
public virtual void Add(ParameterSettingType setting) { }
public override void Add(ParameterSettingType setting) { Parameters.Add(setting); }