Пример #1
0
 /// <summary>
 /// Initializes a new instance of the SequenceStep class
 /// </summary>
 /// <param name="attributes">The XML attributes associated with the
 /// Sequence Step in the BPEL file.</param>
 public SequenceStep(XmlAttributeCollection attributes)
 {
     SequenceContext = new SequenceContextModel();
     // read attributes
     if (attributes != null)
     {
         foreach (XmlAttribute attrib in attributes)
         {
             if (attrib.LocalName == "name")
             {
                 SequenceContext.Name = attrib.Value;
                 break;
             }
         }
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the SequenceStep class
 /// </summary>
 /// <param name="attributes">The XML attributes associated with the
 /// Sequence Step in the BPEL file.</param>
 public SequenceStep(XmlAttributeCollection attributes)
 {
     SequenceContext = new SequenceContextModel();
     // read attributes
     if (attributes != null)
     {
         foreach (XmlAttribute attrib in attributes)
         {
             if (attrib.LocalName == "name")
             {
                 SequenceContext.Name = attrib.Value;
                 break;
             }
         }
     }
 }