private static void addFixedArgsToEndPoint(IBlockWeb containerWeb, XmlElement argEndPoint, Connector.EndPoint ep) { if (argEndPoint.SelectSingleNode("fixedArgs") != null) { List<Connector.EndPoint> subFixedArgs = ExtractArguments(argEndPoint.SelectSingleNode("fixedArgs") as XmlElement, containerWeb); foreach (Connector.EndPoint subFixedArg in subFixedArgs) { ep.AddFixedArg(subFixedArg); } } }