getDescriptorAt() public method

public getDescriptorAt ( int n ) : XRD
n int
return XRD
コード例 #1
0
ファイル: XRDS.cs プロジェクト: AArnott/dotnetxri
 public void addAll(XRDS other)
 {
     for (int i = 0; i < other.getNumChildren(); i++) {
     if (other.isXRDSAt(i))
         add(other.getXRDSAt(i));
     else
         add(other.getDescriptorAt(i));
     }
 }
コード例 #2
0
ファイル: ResolveChain.cs プロジェクト: AArnott/dotnetxri
 /*
 ****************************************************************************
 * addXRIDescriptors()
 ****************************************************************************
 */
 /**
  * Adds the specified XRI Descriptors to the chain
  */
 public void addXRIDescriptors(XRDS oDescriptors)
 {
     for (int i = 0; i < oDescriptors.getNumChildren(); i++) {
         addXRIDescriptor(oDescriptors.getDescriptorAt(i));
     }
 }