The NextCatalog class implements catalog chaining.
상속: RelativeEntry, IEntityRule, IUriRule
예제 #1
0
        /// <summary>
        /// Adds a rule which will cause resolution to chain to another catalog
        /// if no match can be found in this one.
        /// </summary>
        /// <param name="catalog">The URI of the catalog to chain to.</param>
        /// <param name="xmlbase">The optional xml:base URI</param>
        /// <returns>The constructed <see cref="NextCatalogEntry"/> instance.</returns>
        public NextCatalogEntry AddNextCatalog(String catalog, String xmlbase)
        {
            NextCatalogEntry result = new NextCatalogEntry(this, catalog, xmlbase);

            rules.Add(result);
            return(result);
        }
예제 #2
0
        /// <summary>
        /// Adds a rule which will cause resolution to chain to another catalog
        /// if no match can be found in this one.
        /// </summary>
        /// <param name="catalog">The URI of the catalog to chain to.</param>
        /// <param name="xmlbase">The optional xml:base URI</param>
        /// <returns>The constructed <see cref="NextCatalogEntry"/> instance.</returns>
        public NextCatalogEntry AddNextCatalog(String catalog, String xmlbase)
        {
            NextCatalogEntry	result = new NextCatalogEntry (this, catalog, xmlbase);

            rules.Add (result);
            return (result);
        }