[]
Add a default TItem instance to the collection.
public TItemBuilder Add()
| Type | Description |
|---|---|
| TItemBuilder | The item builder |
Add a TItem instance updated by the specified action to the collection.
public ListItemFactory<TItem, TItemBuilder> Add(Action<TItemBuilder> build)
| Type | Name | Description |
|---|---|---|
| Action<TItemBuilder> | build | The specified action to update TItem instance. |
| Type | Description |
|---|---|
| ListItemFactory<TItem, TItemBuilder> | The factory instance |
Add a TItem instance to the collection.
public virtual ListItemFactory<TItem, TItemBuilder> Add(TItem item)
| Type | Name | Description |
|---|---|---|
| TItem | item | The TItem instance. |
| Type | Description |
|---|---|
| ListItemFactory<TItem, TItemBuilder> | The factory instance |