The DelegateUriEntry class implements uri delegation.
Inheritance: RelativeEntry, IUriRule
コード例 #1
0
        /// <summary>
        /// Adds a rule with delegates the processing for matched URIs to another
        /// catalog.
        /// </summary>
        /// <param name="startString">The prefix string to match against.</param>
        /// <param name="catalog">The catalog to delegate to.</param>
        /// <param name="xmlbase">The optional xml:base URI</param>
        /// <returns>The constructed <see cref="DelegateUriEntry"/> instance.</returns>
        public DelegateUriEntry AddDelegateUri(String startString, String catalog, String xmlbase)
        {
            DelegateUriEntry result = new DelegateUriEntry(this, startString, catalog, xmlbase);

            rules.Add(result);
            return(result);
        }
コード例 #2
0
        /// <summary>
        /// Adds a rule with delegates the processing for matched URIs to another
        /// catalog.
        /// </summary>
        /// <param name="startString">The prefix string to match against.</param>
        /// <param name="catalog">The catalog to delegate to.</param>
        /// <param name="xmlbase">The optional xml:base URI</param>
        /// <returns>The constructed <see cref="DelegateUriEntry"/> instance.</returns>
        public DelegateUriEntry AddDelegateUri(String startString, String catalog, String xmlbase)
        {
            DelegateUriEntry	result = new DelegateUriEntry (this, startString, catalog, xmlbase);

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