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