Правка ListGenericObjects
This commit is contained in:
parent
843191ada0
commit
4c06089549
@ -20,7 +20,7 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
|
||||
{
|
||||
get
|
||||
{
|
||||
return Count;
|
||||
return _collection.Count;
|
||||
}
|
||||
set
|
||||
{
|
||||
@ -68,7 +68,7 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
|
||||
|
||||
public IEnumerable<T?> GetItems()
|
||||
{
|
||||
for (int i = 0; i < Count; ++i)
|
||||
for (int i = 0; i < _collection.Count; ++i)
|
||||
{
|
||||
yield return _collection[i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user