Table of Contents

Add Method

Definition

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>.