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