Пример #1
0
 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();
 }
Пример #2
0
 public override void Add(ParameterSettingType attr)
 {
     parameters.Add(attr); //START BY ADDING A 2 argument method here
 }
Пример #3
0
 public virtual void Add(ParameterSettingType setting)
 { }
Пример #4
0
 public override void Add(ParameterSettingType setting)
 {
     Parameters.Add(setting);
 }
Пример #5
0
 public override void Add(ParameterSettingType attr)
 {
     parameters.Add(attr); //START BY ADDING A 2 argument method here
 }
Пример #6
0
 public virtual void Add(ParameterSettingType setting)
 {
 }
Пример #7
0
 public override void Add(ParameterSettingType setting)
 {
     Parameters.Add(setting);
 }