TopicWriter.AddItem Method

Adds an item to a list. Allocates the list if necessary.

Parent Type: TopicWriter

Namespace: DwellNet.CodeDoc

Assembly: CodeDocRenderer.dll

Syntax
C#

protected static void AddItem<T> (
T item,
ref List<T> list

)

Type Parameters

T

The type of item in the list.

Parameters

item

The item to add to the list.

list

The list. If list is null, a new list is allocated.