Adds an item to a list. Allocates the list if necessary.
Parent Type: TopicWriter
Namespace: DwellNet.CodeDoc
Assembly: CodeDocRenderer.dll
| C# |
|
protected static void AddItem<T> ( ) |
T
The type of item in the list.
item
The item to add to the list.
list
The list. If list is null, a new list is allocated.