Here are the examples of the csharp api System.Collections.Generic.ICollection.Contains(TData) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : RecyclerViewAdapter.cs
with MIT License
from technicalpoets
with MIT License
from technicalpoets
void applyAndAnimateRemovals (IList<TData> newItems)
{
for (int i = dataSet.Count - 1; i >= 0; i--)
{
var item = Gereplacedem (i);
if (!newItems.Contains (item))
{
RemoveItem (i);
}
}
}