Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 60ba88f

Browse files
Added contains function to base collection
1 parent 080b91c commit 60ba88f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Assets/SO Architecture/Collections/BaseCollection.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ IEnumerator IEnumerable.GetEnumerator()
2626
{
2727
return List.GetEnumerator();
2828
}
29+
bool Contians(object obj)
30+
{
31+
return List.Contains(obj);
32+
}
2933
}

0 commit comments

Comments
 (0)