PagedList<T> is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
class PagedList<T>
{
int Count { get; }
IList<Error> Errors { get; }
bool IsReadOnly { get; }
T Item { get; set; }
int PageIndex { get; set; }
int PageSize { get; set; }
int TotalCount { get; set; }
IList<Warning> Warnings { get; }
void Add(T item);
T[] AsArray();
void Clear();
Object Clone();
bool Contains(T item);
void CopyTo(T[] array, int arrayIndex);
void ForEach(Action<T> action);
IEnumerator<T> GetEnumerator();
bool HasErrors();
int IndexOf(T item);
void Insert(int index, T item);
bool Remove(T item);
void RemoveAt(int index);
void ThrowErrors();
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Count | int | |||
| Errors | IList<Error> | |||
| IsReadOnly | bool | |||
| Item | T | |||
| PageIndex | int | |||
| PageSize | int | |||
| TotalCount | int | |||
| Warnings | IList<Warning> |
Methods
void Add(T item);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| item | T | Item | Required |
T[] AsArray();
Return Type
T[]
void Clear();
Object Clone();
Return Type
Object
bool Contains(T item);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| item | T | Item | Required |
Return Type
bool
void CopyTo(T[] array, int arrayIndex);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| array | T[] | Array | Required | ||
| arrayIndex | int | Array Index | Required |
void ForEach(Action<T> action);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| action | Action<T> | Action | Required |
IEnumerator<T> GetEnumerator();
Return Type
IEnumerator<T>
bool HasErrors();
Return Type
bool
int IndexOf(T item);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| item | T | Item | Required |
Return Type
int
void Insert(int index, T item);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| index | int | Index | Required | ||
| item | T | Item | Required |
bool Remove(T item);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| item | T | Item | Required |
Return Type
bool
void RemoveAt(int index);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| index | int | Index | Required |