System.Collections.Generic.HashSet.Add(UpdateReportLineListViewItem)

Here are the examples of the csharp api System.Collections.Generic.HashSet.Add(UpdateReportLineListViewItem) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 Source : UpdateReportListView.cs
with MIT License
from nintendaii

internal void CheckAllLines()
        {
            mCheckedLines.Clear();

            foreach (UpdateReportLineListViewItem row in mRows)
            {
                mCheckedLines.Add(row);
            }

            mOnCheckedReportLineChanged();
        }

19 Source : UpdateReportListView.cs
with MIT License
from nintendaii

static void UpdateCheckedState(
            HashSet<UpdateReportLineListViewItem> checkedLines,
            UpdateReportLineListViewItem item,
            bool isChecked)
        {
            if (isChecked)
            {
                checkedLines.Add(item);
                return;
            }

            checkedLines.Remove(item);
        }