/// <summary> /// Adds a rule to the catalog which will cause a matching system identifier /// to its starting prefix replaced. /// </summary> /// <param name="startString">The system identifier prefix to match.</param> /// <param name="rewritePrefix">The new prefix to replace with.</param> /// <returns>The constructed <see cref="RewriteSystemEntry"/> instance.</returns> public RewriteSystemEntry AddRewriteSystem(String startString, String rewritePrefix) { RewriteSystemEntry result = new RewriteSystemEntry(this, startString, rewritePrefix); rules.Add(result); return(result); }
/// <summary> /// Adds a rule to the catalog which will cause a matching system identifier /// to its starting prefix replaced. /// </summary> /// <param name="startString">The system identifier prefix to match.</param> /// <param name="rewritePrefix">The new prefix to replace with.</param> /// <returns>The constructed <see cref="RewriteSystemEntry"/> instance.</returns> public RewriteSystemEntry AddRewriteSystem(String startString, String rewritePrefix) { RewriteSystemEntry result = new RewriteSystemEntry (this, startString, rewritePrefix); rules.Add (result); return (result); }