Esempio n. 1
0
		static XElement BuildParameter(ParameterBaseDom p)
		{
			XElement dd;
			var ret =
				x("dl",
					x("dt", p.Name),
					dd = x("dd")
				);

			if (p.Type != null)
				dd.Add(Names[Strings.Type] + ": ", BuildTypeUrl(p.Type), x("br"));

			dd.Add(XMLUtils.GetInnerXml(p.DocInfo, Navigation));
			return ret;
		}
Esempio n. 2
0
		static XElement BuldParameters(string header, ParameterBaseDom[] Params)
		{
			if (Params == null || Params.Length == 0)
				return null;
			var ret =
				x("div",
				  x("h4", header, a("class", "doc_h4")),
				  Params.Select(BuildParameter).ToArray()
				);
			return ret;
		}