GetAttributes() public static method

public static GetAttributes ( XMLAttributes attributes ) : List
attributes XMLAttributes
return List
コード例 #1
0
 public MasterAssembly(string path)
     : base(path)
 {
     masterinfo = XMLAssembly.CreateFromFile(path);
     if (masterinfo == null)
     {
         throw new ArgumentException("Error loading masterinfo from " + path);
     }
     attributes = MasterUtils.GetAttributes(masterinfo.attributes);
 }
コード例 #2
0
        public MasterInterface(XMLClass xml_cls)
            : base(FormatName(xml_cls))
        {
            this.xml_cls = xml_cls;

            interfaces   = new List <CompNamed>();
            constructors = new List <CompNamed>();
            methods      = new List <CompNamed>();
            properties   = new List <CompNamed>();
            fields       = new List <CompNamed>();
            events       = new List <CompNamed>();

            MasterUtils.PopulateMemberLists(xml_cls,
                                            interfaces,
                                            constructors,
                                            methods,
                                            properties,
                                            fields,
                                            events);

            attributes = MasterUtils.GetAttributes(xml_cls.attributes);
        }
コード例 #3
0
 public override List <CompNamed> GetAttributes()
 {
     return(MasterUtils.GetAttributes(attributes));
 }