private IorProfile GetProfileFor(IiopLocObjAddr objAddr, byte[] objKey, Codec codec, IList /* TaggedComponent */ additionalComponents) { IorProfile addrProfile = objAddr.GetProfileForAddr(objKey, codec); for (int i = 0; i < additionalComponents.Count; i++) { addrProfile.AddTaggedComponent((TaggedComponent)additionalComponents[i]); } return(addrProfile); }