/// <summary> /// Adds a rule to the catalog which will direct the resolution for any /// public identifier that starts with the given prefix to a sub-catalog /// file. /// </summary> /// <param name="startString">The public identifier prefix to match</param> /// <param name="catalog">The URI of the sub-catalog.</param> /// <param name="xmlbase">The optional xml:base URI</param> /// <returns>The constructed <see cref="DelegatePublicEntry"/> instance.</returns> public DelegatePublicEntry AddDelegatePublic(String startString, String catalog, String xmlbase) { DelegatePublicEntry result = new DelegatePublicEntry(this, startString, catalog, xmlbase); rules.Add(result); return(result); }
/// <summary> /// Adds a rule to the catalog which will direct the resolution for any /// public identifier that starts with the given prefix to a sub-catalog /// file. /// </summary> /// <param name="startString">The public identifier prefix to match</param> /// <param name="catalog">The URI of the sub-catalog.</param> /// <param name="xmlbase">The optional xml:base URI</param> /// <returns>The constructed <see cref="DelegatePublicEntry"/> instance.</returns> public DelegatePublicEntry AddDelegatePublic(String startString, String catalog, String xmlbase) { DelegatePublicEntry result = new DelegatePublicEntry (this, startString, catalog, xmlbase); rules.Add (result); return (result); }