Show / Hide Table of Contents

Interface ISizedList<T>

Interface for the fixed size collection container.

Inherited Members
System.Collections.Specialized.INotifyCollectionChanged.CollectionChanged
Namespace: STAIExtensions.Abstractions.Collections
Assembly: STAIExtensions.Abstractions.dll
Syntax
public interface ISizedList<T> : INotifyCollectionChanged
Type Parameters
Name Description
T

Properties

CollectionChangedCallback

Gets or sets an action that is executed when the collection is updated

Declaration
Action? CollectionChangedCallback { get; set; }
Property Value
Type Description
System.Nullable<Action>

Methods

AddRange(IEnumerable<T>)

Adds a range of items to the collection

Declaration
void AddRange(IEnumerable<T> items)
Parameters
Type Name Description
System.Collections.IEnumerable<T> items

The items to add

Exists(Predicate<T>)

Checks if an item exists in the collection

Declaration
bool Exists(Predicate<T> match)
Parameters
Type Name Description
Predicate<T> match

Match predicate

Returns
Type Description
System.Boolean
Back to top Copyright © 2022 Trevor Mare