Class SearchResult<TResultType, TSearch>
Pagable results
Implements
System.Collections.Generic.IEnumerable<TResultType>
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: Dapplo.Jira.Entities
Assembly: Dapplo.Jira.dll
Syntax
[JsonObject]
public class SearchResult<TResultType, TSearch> : PageableResult, IEnumerable<TResultType>, IEnumerable
Type Parameters
Name | Description |
---|---|
TResultType | The type for the results |
TSearch | The type for the search parameter |
Properties
| Improve this Doc View SourceCount
Nummber of items in the result
Declaration
[JsonIgnore]
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Expand
Expand values
Declaration
[JsonProperty("expand")]
public string Expand { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsLastPage
Is this the last page?
Declaration
[JsonIgnore]
public bool IsLastPage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
NextPage
Retrieve the next page
Declaration
[JsonIgnore]
public Page NextPage { get; }
Property Value
Type | Description |
---|---|
Page |
SearchParameter
The original search value, used to continue searches
Declaration
[JsonIgnore]
public TSearch SearchParameter { get; set; }
Property Value
Type | Description |
---|---|
TSearch |
Values
Results
Declaration
[JsonProperty("values")]
public IList<TResultType> Values { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TResultType> |
Methods
| Improve this Doc View SourceGetEnumerator()
IEnumerator implementation
Declaration
public IEnumerator<TResultType> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<TResultType> | IEnumerator of type TResultType |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable