Skip to content

Commit d90911f

Browse files
Update HtmlData.cs
1 parent 136d09a commit d90911f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

class/HtmlData.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ public string GetNameByIndex(int Index)
9797
return NameList[TmpIndex].TheName;
9898
}
9999

100+
public int Count()
101+
{
102+
return NameList.Count;
103+
}
104+
100105
public List<Name> GetList()
101106
{
102107
return NameList;
@@ -462,6 +467,11 @@ public string GetValueByIndex(int Index)
462467
return AttributeList[TmpIndex].Value; ;
463468
}
464469

470+
public int Count()
471+
{
472+
return AttributeList.Count;
473+
}
474+
465475
public List<Attribute> GetList()
466476
{
467477
return AttributeList;
@@ -725,6 +735,11 @@ public bool GetSelectedByIndex(int Index)
725735
return OptionTagList[TmpIndex].Selected; ;
726736
}
727737

738+
public int Count()
739+
{
740+
return OptionTagList.Count;
741+
}
742+
728743
public List<OptionTag> GetList()
729744
{
730745
return OptionTagList;
@@ -1082,6 +1097,11 @@ public bool GetCheckedByIndex(int Index)
10821097
return CheckBoxItemList[TmpIndex].Checked; ;
10831098
}
10841099

1100+
public int Count()
1101+
{
1102+
return CheckBoxItemList.Count;
1103+
}
1104+
10851105
public List<CheckBoxItem> GetList()
10861106
{
10871107
return CheckBoxItemList;

0 commit comments

Comments
 (0)