2 using System.Collections;
\r
3 using System.Xml.Serialization;
\r
5 namespace Mono.Doc.Core
\r
7 [XmlRoot(ElementName="monodoc")]
\r
8 public class MonodocFile
\r
10 private string language = "en";
\r
11 private ArrayList types = new ArrayList();
\r
13 public MonodocFile()
\r
17 [XmlAttribute(AttributeName="language")]
\r
18 public string Language
\r
20 get { return language; }
\r
21 set { language = value; }
\r
24 [XmlElement(Type = typeof(ClassDoc)), XmlElement(Type = typeof(InterfaceDoc)),
\r
25 XmlElement(Type = typeof(StructDoc)), XmlElement(Type = typeof(DelegateDoc)),
\r
26 XmlElement(Type = typeof(EnumDoc))]
\r
27 public ArrayList Types
\r
29 get { return types; }
\r