Method CreateListResult
CreateListResult(Type, Object[])
Used to create an operation result that has multiple items.
선언
public static IList CreateListResult(Type type, Object[] allAssets)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Type | type | The type of the result objects. |
| Object[] | allAssets | The result objects. |
반환
| 타입 | 설명 |
|---|---|
| IList | An IList of the resulting objects. |
CreateListResult<TObject>(Object[])
Used to create an operation result that has multiple items.
선언
public static TObject CreateListResult<TObject>(Object[] allAssets)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Object[] | allAssets | The result objects. |
반환
| 타입 | 설명 |
|---|---|
| TObject | An IList of the resulting objects converted to TObject. |
타입 파라미터
| 이름 | 설명 |
|---|---|
| TObject | The type of the result. |