Method GetSourceItems
- Namespace
- Sccg
- Assembly
- Sccg.dll
GetSourceItems<T>(bool)
Gets the source items of the builder.
public ReadOnlyCollection<T> GetSourceItems<T>(bool allowEmptyReturn = false) where T : ISourceItem
Parameters
allowEmptyReturn
boolIf true, the return value array is allowed to be empty.
Returns
- ReadOnlyCollection<T>
Array of source item. If
allowEmptyReturn
is false, the array will contain at least one converter.
Type Parameters
T
A type of the source item you want to get.
Exceptions
- InvalidOperationException
Not found the specified type source item and
allowEmptyReturn
is false.