public CefEnumType(Parser.EnumData data) : base(data.Name) { members = new EnumMember[data.Members.Count]; for (var i = 0; i <= data.Members.Count - 1; i++) { members[i] = new EnumMember(data.Members[i].Name, data.Members[i].Value, data.Members[i].Comments); } comments = data.Comments; }