상속: Gtk.IconSource
예제 #1
0
        public void Read(IProject project, XmlElement elem)
        {
            sources.Clear();
            name = elem.GetAttribute("id");
            if (name.Length == 0)
            {
                throw new InvalidOperationException("Name attribute not found");
            }

            foreach (XmlElement child in elem.SelectNodes("source"))
            {
                ProjectIconSource src = new ProjectIconSource();
                src.Read(project, child);
                sources.Add(src);
            }
        }
예제 #2
0
 public void Add(ProjectIconSource source)
 {
     List.Add (source);
 }
예제 #3
0
        public void Read(IProject project, XmlElement elem)
        {
            sources.Clear ();
            name = elem.GetAttribute ("id");
            if (name.Length == 0)
                throw new InvalidOperationException ("Name attribute not found");

            foreach (XmlElement child in elem.SelectNodes ("source")) {
                ProjectIconSource src = new ProjectIconSource ();
                src.Read (project, child);
                sources.Add (src);
            }
        }
예제 #4
0
 public void Add(ProjectIconSource source)
 {
     List.Add(source);
 }