Class ContentstackCollection<T>
Inheritance
System.Object
ContentstackCollection<T>
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Contentstack.Core.Models
Assembly: Contentstack.Core.dll
Syntax
[JsonObject]
public class ContentstackCollection<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T |
Properties
| Improve this Doc View SourceCount
The total number of items available.
Declaration
public int Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Items
The System.Collections.Generic.IEnumerable<T> of items to be serialized from the API response.
Declaration
public IEnumerable<T> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T> | System.Collections.Generic.IEnumerable<T> |
Limit
The maximum number of items returned in this result.
Declaration
public int Limit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Skip
The number of items skipped in this resultset.
Declaration
public int Skip { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGetEnumerator()
Returns an enumerator that iterates through the Items collection
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T> |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Returns an enumerator that iterates through the Items collection
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable