Method CreateArrayResult
CreateArrayResult(Type, Object[])
Used to create an operation result that has multiple items.
선언
public static Array CreateArrayResult(Type type, Object[] allAssets)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Type | type | The type of the result. |
| Object[] | allAssets | The result objects. |
반환
| 타입 | 설명 |
|---|---|
| Array | Returns Array object with result items. |
CreateArrayResult<TObject>(Object[])
Used to create an operation result that has multiple items.
선언
public static TObject CreateArrayResult<TObject>(Object[] allAssets) where TObject : class
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Object[] | allAssets | The result objects. |
반환
| 타입 | 설명 |
|---|---|
| TObject | Returns result Array as TObject. |
타입 파라미터
| 이름 | 설명 |
|---|---|
| TObject | The type of the result. |