private ApplyUriEntries ( String uri, Stack |
||
uri | String | The public identifier of the external entity /// being referenced, or null if none was supplied. |
catalogs | Stack |
A stack of catalogs being processed used to /// detect circular dependency. |
리턴 | String |
private String ApplyUriEntries(String uri, Stack<GroupEntry> catalogs)
{
String result = null;
foreach (CatalogComponent rule in rules) {
if (rule is UriEntry) {
if ((result = ((IUriRule) rule)
.ApplyTo (uri, catalogs)) != null)
break;
}
if (rule is GroupEntry) {
if ((result = ((GroupEntry) rule)
.ApplyUriEntries (uri, catalogs)) != null)
break;
}
}
return (result);
}