Click or drag to resize

ModelManagerReadAllT Method (FuncString, T)

Reads all items from the current collection.

Namespace:  Dynamicweb.Analytics.Model
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public IEnumerable<T> ReadAll<T>(
	Func<string, T> activator
)
where T : ISerializableModel

Parameters

activator
Type: SystemFuncString, T
A function that produces the new instance of a given structure item when nessesary.

Type Parameters

T
Item type.

Return Value

Type: IEnumerableT
A list of all items residing in a current collection.
Exceptions
ExceptionCondition
ArgumentNullExceptionactivator is null.
Remarks