Method CreateArrayResult
CreateArrayResult(Type, Object[])
Used to create an operation result that has multiple items.
Declaration
public static Array CreateArrayResult(Type type, Object[] allAssets)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type of the result. |
Object[] | allAssets | The result objects. |
Returns
Type | Description |
---|---|
Array | Returns Array object with result items. |
CreateArrayResult<TObject>(Object[])
Used to create an operation result that has multiple items.
Declaration
public static TObject CreateArrayResult<TObject>(Object[] allAssets)
where TObject : class
Parameters
Type | Name | Description |
---|---|---|
Object[] | allAssets | The result objects. |
Returns
Type | Description |
---|---|
TObject | Returns result Array as TObject. |
Type Parameters
Name | Description |
---|---|
TObject | The type of the result. |