コード例 #1
0
ファイル: Cache.cs プロジェクト: AArnott/dotnetxri
 /*
 ****************************************************************************
 * stuff()
 ****************************************************************************
 */
 /**
  * Adds the descriptors associated with an authority to the cache
  * @param oAuth - The Authority whose descriptors to store
  * @param oDescriptors - The descriptors of the subsegments in oAuth
  */
 public void stuff(XRIAuthority oAuth, XRDS oDescriptors)
 {
     for (int i = 0; i < oDescriptors.getNumChildren(); i++) {
         stuff(oAuth, oDescriptors.getDescriptorAt(i), i);
     }
 }
コード例 #2
0
ファイル: ResolveChain.cs プロジェクト: tt/dotnetxri
    } // addXRIDescriptor()

    /*
    ****************************************************************************
    * 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));
        }

    } // addXRIDescriptors()