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