Table of Contents

Add Method

Definition

Namespace
Cuemon.Collections.Generic
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Collections/Generic/ConditionalCollection.cs

Add(T)

Adds an item to the ConditionalCollection<T>.

public abstract void Add(T item)

Parameters

item T

The object to add to the ConditionalCollection<T>.

Add(T, Action)

Adds an item to the ConditionalCollection<T>.

protected void Add(T item, Action validator)

Parameters

item T

The object to add to the ConditionalCollection<T>.

validator Action

The delegate that validates the item being added to the ConditionalCollection<T>.