コード例 #1
0
        ///
        ///     <summary> * Get all CutBlock from the current element
        ///     *  </summary>
        ///     * <returns> Collection<JDFCutBlock> </returns>
        ///
        public virtual ICollection <JDFCutBlock> getAllCutBlock()
        {
            List <JDFCutBlock> v = new List <JDFCutBlock>();

            JDFCutBlock kElem = (JDFCutBlock)getFirstChildElement(ElementName.CUTBLOCK, null);

            while (kElem != null)
            {
                v.Add(kElem);

                kElem = (JDFCutBlock)kElem.getNextSiblingElement(ElementName.CUTBLOCK, null);
            }

            return(v);
        }
コード例 #2
0
 ///
 ///      <summary> * (31) create inter-resource link to refTarget </summary>
 ///      * <param name="refTarget"> the element that is referenced </param>
 ///
 public virtual void refCutBlock(JDFCutBlock refTarget)
 {
     refElement(refTarget);
 }